summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorUnknwon <u@gogs.io>2015-09-16 12:15:14 -0400
committerUnknwon <u@gogs.io>2015-09-16 12:15:14 -0400
commit6a1907d994c3beb7e604874d2cce3171b32b0baf (patch)
tree464286714768b848a7f8510b9d1c20e41cccb859 /templates
parente303d74ab65dfeae17b815efd424bd0618a7d630 (diff)
downloadgitea-6a1907d994c3beb7e604874d2cce3171b32b0baf.tar.gz
gitea-6a1907d994c3beb7e604874d2cce3171b32b0baf.zip
revert simple LDAP userDN and update example
Diffstat (limited to 'templates')
-rw-r--r--templates/.VERSION2
-rw-r--r--templates/admin/auth/edit.tmpl2
-rw-r--r--templates/admin/auth/new.tmpl2
3 files changed, 3 insertions, 3 deletions
diff --git a/templates/.VERSION b/templates/.VERSION
index 2bbb6d7403..b2b7e63fda 100644
--- a/templates/.VERSION
+++ b/templates/.VERSION
@@ -1 +1 @@
-0.6.12.0914 Beta \ No newline at end of file
+0.6.12.0916 Beta \ No newline at end of file
diff --git a/templates/admin/auth/edit.tmpl b/templates/admin/auth/edit.tmpl
index 1cd647cc56..7423081bd0 100644
--- a/templates/admin/auth/edit.tmpl
+++ b/templates/admin/auth/edit.tmpl
@@ -52,7 +52,7 @@
{{if .Source.IsDLDAP}}
<div class="required field">
<label for="user_dn">{{.i18n.Tr "admin.auths.user_dn"}}</label>
- <input id="user_dn" name="user_dn" value="{{$cfg.UserDN}}" placeholder="e.g. ou=Users,dc=mydomain,dc=com" required>
+ <input id="user_dn" name="user_dn" value="{{$cfg.UserDN}}" placeholder="e.g. uid=%s,ou=Users,dc=mydomain,dc=com" required>
</div>
{{end}}
<div class="required field">
diff --git a/templates/admin/auth/new.tmpl b/templates/admin/auth/new.tmpl
index 5b5a81acc9..d342b2df17 100644
--- a/templates/admin/auth/new.tmpl
+++ b/templates/admin/auth/new.tmpl
@@ -56,7 +56,7 @@
</div>
<div class="dldap required field {{if not (eq .type 5)}}hide{{end}}">
<label for="user_dn">{{.i18n.Tr "admin.auths.user_dn"}}</label>
- <input id="user_dn" name="user_dn" value="{{.user_dn}}" placeholder="e.g. ou=Users,dc=mydomain,dc=com">
+ <input id="user_dn" name="user_dn" value="{{.user_dn}}" placeholder="e.g. uid=%s,ou=Users,dc=mydomain,dc=com">
</div>
<div class="required field">
<label for="filter">{{.i18n.Tr "admin.auths.filter"}}</label>