diff options
author | Unknwon <u@gogs.io> | 2015-09-13 10:05:18 -0400 |
---|---|---|
committer | Unknwon <u@gogs.io> | 2015-09-13 10:05:18 -0400 |
commit | e5ed5904c62d9a618cb6f4ad852b021a02c3481e (patch) | |
tree | b0c91a2e532899a1f8f0707bd0df795ab65080d7 /templates/admin/user/new.tmpl | |
parent | 1fa5b6711b1540415511cd33d17a12170ab69ba6 (diff) | |
download | gitea-e5ed5904c62d9a618cb6f4ad852b021a02c3481e.tar.gz gitea-e5ed5904c62d9a618cb6f4ad852b021a02c3481e.zip |
#1606 GUI bug while adding ldap user
Diffstat (limited to 'templates/admin/user/new.tmpl')
-rw-r--r-- | templates/admin/user/new.tmpl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/admin/user/new.tmpl b/templates/admin/user/new.tmpl index f8dfad11bd..5d02d1d6d7 100644 --- a/templates/admin/user/new.tmpl +++ b/templates/admin/user/new.tmpl @@ -41,7 +41,7 @@ <input class="fake" type="password"> <div class="required local field {{if .Err_Password}}error{{end}} {{if not (eq .login_type "0-0")}}hide{{end}}"> <label for="password">{{.i18n.Tr "password"}}</label> - <input id="password" name="password" type="password" value="{{.password}}" required> + <input id="password" name="password" type="password" value="{{.password}}" {{if eq .login_type "0-0"}}required{{end}}> </div> <div class="field"> |