mirror of
https://github.com/simon987/Much-Assembly-Required-Frontend.git
synced 2025-04-19 18:46:41 +00:00
Increased maximum password length
This commit is contained in:
parent
b5da942878
commit
57457da91e
@ -17,9 +17,9 @@ if (strlen($username) < 5 || strlen($username) > 20) {
|
|||||||
$msg->setCookie();
|
$msg->setCookie();
|
||||||
header("Location: login.php#register");
|
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");
|
header("Location: login.php#register");
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user