mirror of
				https://gitee.com/gitea/gitea
				synced 2025-11-04 08:30:25 +08:00 
			
		
		
		
	LDAP via simple auth separate bind user and search base (#5055)
This commit is contained in:
		
				
					committed by
					
						
						techknowlogick
					
				
			
			
				
	
			
			
			
						parent
						
							6e20b504b1
						
					
				
				
					commit
					2058c362a8
				
			@@ -30,7 +30,7 @@
 | 
			
		||||
		<input id="bind_password" name="bind_password" type="password" value="{{.bind_password}}">
 | 
			
		||||
		<p class="help text red">{{.i18n.Tr "admin.auths.bind_password_helper"}}</p>
 | 
			
		||||
	</div>
 | 
			
		||||
	<div class="ldap required field {{if not (eq .type 2)}}hide{{end}}">
 | 
			
		||||
	<div class="binddnrequired {{if (eq .type 2)}}required{{end}} field">
 | 
			
		||||
		<label for="user_base">{{.i18n.Tr "admin.auths.user_base"}}</label>
 | 
			
		||||
		<input id="user_base" name="user_base" value="{{.user_base}}" placeholder="e.g. ou=Users,dc=mydomain,dc=com">
 | 
			
		||||
	</div>
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user