forked from forgejo/forgejo
LDAP via simple auth separate bind user and search base (#5055)
This commit is contained in:
parent
6e20b504b1
commit
2058c362a8
4 changed files with 37 additions and 17 deletions
|
@ -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>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue