aboutsummaryrefslogtreecommitdiffstats
path: root/templates/admin/user/new.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'templates/admin/user/new.tmpl')
-rw-r--r--templates/admin/user/new.tmpl2
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">