mirror of
https://github.com/postfixadmin/postfixadmin.git
synced 2024-09-19 19:22:14 +02:00
add hash_equals call
This commit is contained in:
parent
8b1adbcf1f
commit
2060422d9a
@ -34,7 +34,8 @@ class Login {
|
||||
} catch (\Exception $e) {
|
||||
error_log("Error while trying to call pacrypt()");
|
||||
error_log($e);
|
||||
return false; // just refuse to login?
|
||||
hash_equals("not", "comparable");
|
||||
return false; // just refuse to login?
|
||||
}
|
||||
return hash_equals($row['password'], $crypt_password);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user