summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArtem Anisimov <aanisimov@inbox.ru>2010-09-14 20:49:14 +0200
committerFrédéric Buclin <LpSolit@gmail.com>2010-09-14 20:49:14 +0200
commit8042dfb30a65cbc2430e3dac0c854c0b70f3526a (patch)
treeefdbf05e5ef1ba578a69f8bfa75b525e3ad966a9
parent1906ffa9b738d99559f48262a52549da4f2c1e2d (diff)
downloadbugzilla-8042dfb30a65cbc2430e3dac0c854c0b70f3526a.tar.gz
bugzilla-8042dfb30a65cbc2430e3dac0c854c0b70f3526a.tar.xz
Bug 595664: Maximum password length is hardcoded in the UI when editing user accounts
r/a=LpSolit
-rw-r--r--template/en/default/admin/sudo.html.tmpl3
-rw-r--r--template/en/default/admin/users/userdata.html.tmpl5
2 files changed, 3 insertions, 5 deletions
diff --git a/template/en/default/admin/sudo.html.tmpl b/template/en/default/admin/sudo.html.tmpl
index 680bcfbb3..283eebe15 100644
--- a/template/en/default/admin/sudo.html.tmpl
+++ b/template/en/default/admin/sudo.html.tmpl
@@ -83,8 +83,7 @@
password</label>:
<input type="hidden" name="Bugzilla_login" value="
[%- user.login FILTER html %]">
- <input type="password" id="Bugzilla_password" name="Bugzilla_password"
- maxlength="20" size="20">
+ <input type="password" id="Bugzilla_password" name="Bugzilla_password" size="20">
<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
diff --git a/template/en/default/admin/users/userdata.html.tmpl b/template/en/default/admin/users/userdata.html.tmpl
index d81529b48..5df1f7c8c 100644
--- a/template/en/default/admin/users/userdata.html.tmpl
+++ b/template/en/default/admin/users/userdata.html.tmpl
@@ -61,9 +61,8 @@
<tr>
<th><label for="password">Password:</label></th>
<td>
- <input type="password" size="16" maxlength="16" name="password"
- autocomplete="off"
- id="password" value="" />
+ <input type="password" size="16" name="password" id="password"
+ value="" autocomplete="off" />
[% IF editform %]<br />
(Enter new password to change.)
[% END %]