mirror of
				https://github.com/go-gitea/gitea.git
				synced 2025-10-29 10:57:44 +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
				
			| @@ -121,6 +121,7 @@ const ( | ||||
| 	syncSSHAuthorizedKey | ||||
| 	syncRepositoryUpdateHook | ||||
| 	reinitMissingRepository | ||||
| 	syncExternalUsers | ||||
| ) | ||||
|  | ||||
| // Dashboard show admin panel dashboard | ||||
| @@ -157,6 +158,9 @@ func Dashboard(ctx *context.Context) { | ||||
| 		case reinitMissingRepository: | ||||
| 			success = ctx.Tr("admin.dashboard.reinit_missing_repos_success") | ||||
| 			err = models.ReinitMissingRepositories() | ||||
| 		case syncExternalUsers: | ||||
| 			success = ctx.Tr("admin.dashboard.sync_external_users_started") | ||||
| 			go models.SyncExternalUsers() | ||||
| 		} | ||||
|  | ||||
| 		if err != nil { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user