aboutsummaryrefslogtreecommitdiffstats
path: root/template/en/default/admin/users
diff options
context:
space:
mode:
authorSunil Joshi <joshi_sunil@in.com>2014-03-23 01:56:29 +0100
committerFrédéric Buclin <LpSolit@gmail.com>2014-03-23 01:56:29 +0100
commit165689a71928008f2d12f9cd8228497594899c2f (patch)
treed3a3c23bc30959290b014a86c1c50c60c7a9073c /template/en/default/admin/users
parentd9cd47075697a363b94c575526937ad40c617a0b (diff)
downloadbugs-165689a71928008f2d12f9cd8228497594899c2f.tar
bugs-165689a71928008f2d12f9cd8228497594899c2f.tar.gz
bugs-165689a71928008f2d12f9cd8228497594899c2f.tar.bz2
bugs-165689a71928008f2d12f9cd8228497594899c2f.tar.xz
bugs-165689a71928008f2d12f9cd8228497594899c2f.zip
Bug 962812: Use the "required" attribute where appropriate
r=LpSolit a=justdave
Diffstat (limited to 'template/en/default/admin/users')
-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" %]