Skip to content

Commit e7fb606

Browse files
committed
fixed password comparison
1 parent df2e3eb commit e7fb606

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/Routes/Account.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ public static function respondToAccountNew() {
7171
header("HTTP/1.1 400 Bad Request");
7272
exit();
7373
}
74-
if (!$_POST['password'] === $_POST['repeat_password']) {
74+
if ($_POST['password'] !== $_POST['repeat_password']) {
7575
error_log("Password repeat does not match");
7676
header("HTTP/1.1 400 Bad Request");
7777
exit();

0 commit comments

Comments
 (0)