aboutsummaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorUnknwon <u@gogs.io>2017-11-16 19:32:33 -0500
committerUnknwon <u@gogs.io>2017-11-16 19:32:33 -0500
commit6f04ee879ca25fd798f85a4c701291adae561a1a (patch)
treecc8d06d0fe6022146f9717f647574aff34dcd65c /templates
parente1e76d3f8823606ae48635e19d4e58cc3bdf163f (diff)
auth/ldap: allow placeholder %s for BindDN (#2526)
Diffstat (limited to 'templates')
-rw-r--r--templates/.VERSION2
-rw-r--r--templates/admin/auth/edit.tmpl1
-rw-r--r--templates/admin/auth/new.tmpl1
3 files changed, 3 insertions, 1 deletions
diff --git a/templates/.VERSION b/templates/.VERSION
index f3f207f6..3cf8dcf7 100644
--- a/templates/.VERSION
+++ b/templates/.VERSION
@@ -1 +1 @@
-0.11.32.1115 \ No newline at end of file
+0.11.33.1116 \ No newline at end of file
diff --git a/templates/admin/auth/edit.tmpl b/templates/admin/auth/edit.tmpl
index 3b69bd0e..32de620c 100644
--- a/templates/admin/auth/edit.tmpl
+++ b/templates/admin/auth/edit.tmpl
@@ -50,6 +50,7 @@
<div class="field">
<label for="bind_dn">{{.i18n.Tr "admin.auths.bind_dn"}}</label>
<input id="bind_dn" name="bind_dn" value="{{$cfg.BindDN}}" placeholder="e.g. cn=Search,dc=mydomain,dc=com">
+ <p class="help text red">{{.i18n.Tr "admin.auths.bind_dn_helper"}}</p>
</div>
<input class="fake" type="password">
<div class="field">
diff --git a/templates/admin/auth/new.tmpl b/templates/admin/auth/new.tmpl
index 1abfee57..e164f531 100644
--- a/templates/admin/auth/new.tmpl
+++ b/templates/admin/auth/new.tmpl
@@ -56,6 +56,7 @@
<div class="ldap field {{if not (eq .type 2)}}hide{{end}}">
<label for="bind_dn">{{.i18n.Tr "admin.auths.bind_dn"}}</label>
<input id="bind_dn" name="bind_dn" value="{{.bind_dn}}" placeholder="e.g. cn=Search,dc=mydomain,dc=com">
+ <p class="help text blue">{{.i18n.Tr "admin.auths.bind_dn_helper"}}</p>
</div>
<div class="ldap field {{if not (eq .type 2)}}hide{{end}}">
<label for="bind_password">{{.i18n.Tr "admin.auths.bind_password"}}</label>