mirror of
				https://github.com/go-gitea/gitea.git
				synced 2025-10-31 21:28:11 +09:00 
			
		
		
		
	LDAP user synchronization (#1478)
This commit is contained in:
		
				
					committed by
					
						 Kim "BKC" Carlbäcker
						Kim "BKC" Carlbäcker
					
				
			
			
				
	
			
			
			
						parent
						
							fd76f090a2
						
					
				
				
					commit
					524885dd65
				
			| @@ -336,6 +336,12 @@ var ( | ||||
| 			Schedule   string | ||||
| 			OlderThan  time.Duration | ||||
| 		} `ini:"cron.archive_cleanup"` | ||||
| 		SyncExternalUsers struct { | ||||
| 			Enabled        bool | ||||
| 			RunAtStart     bool | ||||
| 			Schedule       string | ||||
| 			UpdateExisting bool | ||||
| 		} `ini:"cron.sync_external_users"` | ||||
| 	}{ | ||||
| 		UpdateMirror: struct { | ||||
| 			Enabled    bool | ||||
| @@ -379,6 +385,17 @@ var ( | ||||
| 			Schedule:   "@every 24h", | ||||
| 			OlderThan:  24 * time.Hour, | ||||
| 		}, | ||||
| 		SyncExternalUsers: struct { | ||||
| 			Enabled        bool | ||||
| 			RunAtStart     bool | ||||
| 			Schedule       string | ||||
| 			UpdateExisting bool | ||||
| 		}{ | ||||
| 			Enabled:        true, | ||||
| 			RunAtStart:     false, | ||||
| 			Schedule:       "@every 24h", | ||||
| 			UpdateExisting: true, | ||||
| 		}, | ||||
| 	} | ||||
|  | ||||
| 	// Git settings | ||||
|   | ||||
		Reference in New Issue
	
	Block a user