whoops, added a few extra parenthesis
This commit is contained in:
parent
36444b0e85
commit
194de7e07f
|
@ -28,16 +28,16 @@ if($_SERVER['REQUEST_METHOD'] == 'POST') {
|
|||
|
||||
if ($password != $password_conf) failed_register("passwords did not match");
|
||||
|
||||
if (strlen($password) > 32)) {
|
||||
if (strlen($password) > 32) {
|
||||
failed_register("passwords can be at most 32 characters long");
|
||||
}
|
||||
if (strlen($password) < 8)) {
|
||||
if (strlen($password) < 8) {
|
||||
failed_register("passwords must be at least 8 characters long");
|
||||
}
|
||||
if (strlen($username) > 32)) {
|
||||
if (strlen($username) > 32) {
|
||||
failed_register("usernames can be at most 32 characters long");
|
||||
}
|
||||
if (strlen($username) < 3)) {
|
||||
if (strlen($username) < 3) {
|
||||
failed_register("usernames must be at least 3 characters long");
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue