summaryrefslogtreecommitdiffstats
path: root/template/en/default/admin/sudo.html.tmpl
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/sudo.html.tmpl
parentd9cd47075697a363b94c575526937ad40c617a0b (diff)
downloadbugzilla-165689a71928008f2d12f9cd8228497594899c2f.tar.gz
bugzilla-165689a71928008f2d12f9cd8228497594899c2f.tar.xz
Bug 962812: Use the "required" attribute where appropriate
r=LpSolit a=justdave
Diffstat (limited to 'template/en/default/admin/sudo.html.tmpl')
-rw-r--r--template/en/default/admin/sudo.html.tmpl3
1 files changed, 2 insertions, 1 deletions
diff --git a/template/en/default/admin/sudo.html.tmpl b/template/en/default/admin/sudo.html.tmpl
index a5f13a015..d4faf4ea7 100644
--- a/template/en/default/admin/sudo.html.tmpl
+++ b/template/en/default/admin/sudo.html.tmpl
@@ -41,6 +41,7 @@
value => target_login_default
accesskey => "u"
size => 30
+ mandatory => 1
%]
</p>
@@ -69,7 +70,7 @@
password</label>:
<input type="hidden" name="Bugzilla_login" value="
[%- user.login FILTER html %]">
- <input type="password" id="Bugzilla_password" name="Bugzilla_password" size="20">
+ <input type="password" id="Bugzilla_password" name="Bugzilla_password" size="20" required>
<br>
This is done for two reasons. First of all, it is done to reduce
the chances of someone doing large amounts of damage using your