summaryrefslogtreecommitdiffstats
path: root/templates/admin/auth/edit.tmpl
diff options
context:
space:
mode:
authorLauris BH <lauris@nix.lv>2020-03-05 08:30:33 +0200
committerGitHub <noreply@github.com>2020-03-05 08:30:33 +0200
commit37c3db7be6dd6fc5ee085979cc5f5dda09d978c3 (patch)
treef77e1d61daaee11f6aab8e491120620e597c2782 /templates/admin/auth/edit.tmpl
parentbe544e8e6a78360d87315ada9695cc6d70c3617c (diff)
downloadgitea-37c3db7be6dd6fc5ee085979cc5f5dda09d978c3.tar.gz
gitea-37c3db7be6dd6fc5ee085979cc5f5dda09d978c3.zip
Add restricted user filter to LDAP authentication (#10600)
* Add restricted user filter to LDAP authentification * Fix unit test cases
Diffstat (limited to 'templates/admin/auth/edit.tmpl')
-rw-r--r--templates/admin/auth/edit.tmpl5
1 files changed, 5 insertions, 0 deletions
diff --git a/templates/admin/auth/edit.tmpl b/templates/admin/auth/edit.tmpl
index 3f515bbf48..15ab2b227b 100644
--- a/templates/admin/auth/edit.tmpl
+++ b/templates/admin/auth/edit.tmpl
@@ -75,6 +75,11 @@
<input id="admin_filter" name="admin_filter" value="{{$cfg.AdminFilter}}">
</div>
<div class="field">
+ <label for="restricted_filter">{{.i18n.Tr "admin.auths.restricted_filter"}}</label>
+ <input id="restricted_filter" name="restricted_filter" value="{{$cfg.RestrictedFilter}}">
+ <p class="help">{{.i18n.Tr "admin.auths.restricted_filter_helper"}}</p>
+ </div>
+ <div class="field">
<label for="attribute_username">{{.i18n.Tr "admin.auths.attribute_username"}}</label>
<input id="attribute_username" name="attribute_username" value="{{$cfg.AttributeUsername}}" placeholder="{{.i18n.Tr "admin.auths.attribute_username_placeholder"}}">
</div>