aboutsummaryrefslogtreecommitdiffstats
path: root/template/en/default/admin/users/userdata.html.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'template/en/default/admin/users/userdata.html.tmpl')
-rw-r--r--template/en/default/admin/users/userdata.html.tmpl4
1 files changed, 2 insertions, 2 deletions
diff --git a/template/en/default/admin/users/userdata.html.tmpl b/template/en/default/admin/users/userdata.html.tmpl
index 8cdc767e4..c08cd0018 100644
--- a/template/en/default/admin/users/userdata.html.tmpl
+++ b/template/en/default/admin/users/userdata.html.tmpl
@@ -23,7 +23,7 @@
[% IF editusers %]
<input size="64" maxlength="255" id="login" name="login"
value="[% otheruser.login FILTER html %]"
- [%- " autofocus" UNLESS editform %]>
+ [%- " autofocus" UNLESS editform %] required>
[% IF editform %]
[% IF !otheruser.in_group('bz_sudo_protect') %]
<br>
@@ -72,7 +72,7 @@
<th><label for="password">Password:</label></th>
<td>
<input type="password" size="16" name="password" id="password"
- value="" autocomplete="off">
+ value="" autocomplete="off" [% 'required' IF !editform %]>
[% IF password_complexity == "mixed_letters" %]
(Password must contain at least one UPPER and one lowercase letter.)
[% ELSIF password_complexity == "letters_numbers" %]