aboutsummaryrefslogtreecommitdiffstats
path: root/templates/admin/auth/new.tmpl
diff options
context:
space:
mode:
authorUnknwon <u@gogs.io>2016-02-20 14:56:27 -0500
committerUnknwon <u@gogs.io>2016-02-20 14:56:27 -0500
commitacf094fb0734a1c046a2d68583f95647444a799c (patch)
tree4c5407903c2460b22e32cd3cba69f0368d7b85bd /templates/admin/auth/new.tmpl
parent7e0baf41369b346180e7e14164dea936f8db98ba (diff)
downloadgitea-acf094fb0734a1c046a2d68583f95647444a799c.tar.gz
gitea-acf094fb0734a1c046a2d68583f95647444a799c.zip
Minor fix for #2634
Add AttributesInBind option in new auth source form.
Diffstat (limited to 'templates/admin/auth/new.tmpl')
-rw-r--r--templates/admin/auth/new.tmpl6
1 files changed, 6 insertions, 0 deletions
diff --git a/templates/admin/auth/new.tmpl b/templates/admin/auth/new.tmpl
index f06d3de7e3..418f21dad8 100644
--- a/templates/admin/auth/new.tmpl
+++ b/templates/admin/auth/new.tmpl
@@ -120,6 +120,12 @@
<input id="pam_service_name" name="pam_service_name" value="{{.pam_service_name}}" />
</div>
+ <div class="ldap field">
+ <div class="ui checkbox">
+ <label><strong>{{.i18n.Tr "admin.auths.attributes_in_bind"}}</strong></label>
+ <input name="attributes_in_bind" type="checkbox" {{if .attributes_in_bind}}checked{{end}}>
+ </div>
+ </div>
<div class="ldap dldap smtp inline field {{if not (or (or (eq .type 2) (eq .type 5)) (eq .type 3))}}hide{{end}}">
<div class="ui checkbox">
<label><strong>{{.i18n.Tr "admin.auths.enable_tls"}}</strong></label>