diff options
author | wxiaoguang <wxiaoguang@gmail.com> | 2021-10-19 06:08:41 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-19 01:08:41 +0300 |
commit | 4822eed99dc20742fcea5c31c9a9a192188a53e0 (patch) | |
tree | 119697fb3ba115a7c098790320bb822b43a06654 /templates/admin/auth/source/ldap.tmpl | |
parent | c59afa752d9746af6d870635ce3baaaff67b8027 (diff) | |
download | gitea-4822eed99dc20742fcea5c31c9a9a192188a53e0.tar.gz gitea-4822eed99dc20742fcea5c31c9a9a192188a53e0.zip |
Disable form autofill (#17291)
]* fix aria-hidden and tabindex
* use {{template "base/disable_form_autofill"}} instead of {{DisableFormAutofill}}
Co-authored-by: zeripath <art27@cantab.net>
Diffstat (limited to 'templates/admin/auth/source/ldap.tmpl')
-rw-r--r-- | templates/admin/auth/source/ldap.tmpl | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/templates/admin/auth/source/ldap.tmpl b/templates/admin/auth/source/ldap.tmpl index b553502b94..9ea0fdf8c0 100644 --- a/templates/admin/auth/source/ldap.tmpl +++ b/templates/admin/auth/source/ldap.tmpl @@ -30,7 +30,6 @@ <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"> </div> - <input class="fake" type="password"> <div class="ldap field {{if not (eq .type 2)}}hide{{end}}"> <label for="bind_password">{{.i18n.Tr "admin.auths.bind_password"}}</label> <input id="bind_password" name="bind_password" type="password" autocomplete="off" value="{{.bind_password}}"> |