From 24a8452880476201ab231b86f6a9cde1e74e107c Mon Sep 17 00:00:00 2001
From: canyonknight
Date: Tue, 9 Oct 2012 16:37:18 -0400
Subject: 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
Signed-off-by: Lukas Fleischer
---
web/html/login.php | 2 +-
web/html/passreset.php | 4 ++--
web/lib/config.inc.php.proto | 1 -
web/template/account_edit_form.php | 4 ++--
4 files changed, 5 insertions(+), 6 deletions(-)
(limited to 'web')
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"));
-
+
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"));
= __("Enter your new password:"); ?> |
- |
+ |
= __("Confirm your new password:"); ?> |
- |
+ |
diff --git a/web/lib/config.inc.php.proto b/web/lib/config.inc.php.proto
index 3c7df19..f132445 100644
--- a/web/lib/config.inc.php.proto
+++ b/web/lib/config.inc.php.proto
@@ -15,7 +15,6 @@ define( "URL_DIR", "/packages/" );
define( "USERNAME_MIN_LEN", 3 );
define( "USERNAME_MAX_LEN", 16 );
define( "PASSWD_MIN_LEN", 4 );
-define( "PASSWD_MAX_LEN", 128 );
# Default language for displayed messages in the web interface.
define("DEFAULT_LANG", "en");
diff --git a/web/template/account_edit_form.php b/web/template/account_edit_form.php
index 20f552a..308913d 100644
--- a/web/template/account_edit_form.php
+++ b/web/template/account_edit_form.php
@@ -60,13 +60,13 @@
-
+
-
+
--
cgit v1.2.3-54-g00ecf