]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 595664: Maximum password length is hardcoded in the UI when editing user accounts
authorArtem Anisimov <aanisimov@inbox.ru>
Tue, 14 Sep 2010 18:51:49 +0000 (20:51 +0200)
committerFrédéric Buclin <LpSolit@gmail.com>
Tue, 14 Sep 2010 18:51:49 +0000 (20:51 +0200)
r/a=LpSolit

template/en/default/admin/sudo.html.tmpl
template/en/default/admin/users/userdata.html.tmpl

index 680bcfbb38ff1fd3cbd368f9537ff158c7889f80..283eebe1561b3f7e5f73c1da3edf06764ccfaa39 100644 (file)
@@ -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 
index f23aa1b85c171a29fcd0fe9e2e2b67f5db4988b1..9b182fa14c537d3a905c9a3afb50cfa93ec3dbb5 100644 (file)
@@ -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 %]