summaryrefslogtreecommitdiff
path: root/web/html
diff options
context:
space:
mode:
authorcanyonknight <canyonknight@gmail.com>2012-10-09 16:37:18 -0400
committerLukas Fleischer <archlinux@cryptocrack.de>2012-10-11 21:19:16 +0200
commit24a8452880476201ab231b86f6a9cde1e74e107c (patch)
tree6494253ed1d439205e8074bd4f0ed7c9dbb7e3e3 /web/html
parente9a02721181cf0633d1148b07e004f448df96078 (diff)
Remove character limit on password length
As all new passwords are hashed and therefore stored in the database at the same length, this limitation is no longer needed. Fixes FS#31855 Signed-off-by: canyonknight <canyonknight@gmail.com> Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
Diffstat (limited to 'web/html')
-rw-r--r--web/html/login.php2
-rw-r--r--web/html/passreset.php4
2 files changed, 3 insertions, 3 deletions
diff --git a/web/html/login.php b/web/html/login.php
index ed323f8..d5bb1e7 100644
--- a/web/html/login.php
+++ b/web/html/login.php
@@ -32,7 +32,7 @@ html_header('AUR ' . __("Login"));
</p>
<p>
<label for="id_password"><?= __('Password') . ':'; ?></label>
- <input id="id_password" type="password" name="passwd" size="30" maxlength="<?= PASSWD_MAX_LEN; ?>" />
+ <input id="id_password" type="password" name="passwd" size="30" />
</p>
<p>
<input type="checkbox" name="remember_me" id="id_remember_me" />
diff --git a/web/html/passreset.php b/web/html/passreset.php
index 13697b9..42dfc86 100644
--- a/web/html/passreset.php
+++ b/web/html/passreset.php
@@ -86,11 +86,11 @@ html_header(__("Password Reset"));
</tr>
<tr>
<td><?= __("Enter your new password:"); ?></td>
- <td><input type="password" name="password" size="30" maxlength="32" /></td>
+ <td><input type="password" name="password" size="30" /></td>
</tr>
<tr>
<td><?= __("Confirm your new password:"); ?></td>
- <td><input type="password" name="confirm" size="30" maxlength="32" /></td>
+ <td><input type="password" name="confirm" size="30" /></td>
</tr>
</table>
<br />