Increased maximum password length

This commit is contained in:
simon 2017-12-31 12:20:46 -05:00
parent b5da942878
commit 57457da91e

View File

@ -17,9 +17,9 @@ if (strlen($username) < 5 || strlen($username) > 20) {
$msg->setCookie();
header("Location: login.php#register");
} else if (strlen($password) < 8 || strlen($password) > 32) {
} else if (strlen($password) < 8 || strlen($password) > 96) {
(new MessageCookie("Password must be 8-32 characters", "register"))->setCookie();
(new MessageCookie("Password must be 8-96 characters", "register"))->setCookie();
header("Location: login.php#register");
} else {