diff options
Diffstat (limited to 'templates')
-rw-r--r-- | templates/admin/auth/edit.tmpl | 5 | ||||
-rw-r--r-- | templates/admin/auth/source/ldap.tmpl | 5 |
2 files changed, 10 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> diff --git a/templates/admin/auth/source/ldap.tmpl b/templates/admin/auth/source/ldap.tmpl index 3386884ff1..f5806c829c 100644 --- a/templates/admin/auth/source/ldap.tmpl +++ b/templates/admin/auth/source/ldap.tmpl @@ -47,6 +47,11 @@ <input id="admin_filter" name="admin_filter" value="{{.admin_filter}}"> </div> <div class="field"> + <label for="restricted_filter">{{.i18n.Tr "admin.auths.restricted_filter"}}</label> + <input id="restricted_filter" name="admin_filter" value="{{.restricted_filter}}"> + <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="{{.attribute_username}}" placeholder="{{.i18n.Tr "admin.auths.attribute_username_placeholder"}}"> </div> |