whoops, added a few extra parenthesis

This commit is contained in:
hayden 2019-06-29 20:01:02 -05:00
parent 36444b0e85
commit 194de7e07f
1 changed files with 4 additions and 4 deletions

View File

@ -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");
}