You've already forked postfixadmin
mirror of
https://github.com/postfixadmin/postfixadmin.git
synced 2025-08-09 05:02:44 +03:00
psalm improvements
This commit is contained in:
@@ -36,7 +36,7 @@ class Login {
|
||||
$crypt_password = pacrypt($password, $row['password']);
|
||||
} catch (\Exception $e) {
|
||||
error_log("Error while trying to call pacrypt()");
|
||||
error_log($e);
|
||||
error_log("" . $e);
|
||||
hash_equals("not", "comparable");
|
||||
return false; // just refuse to login?
|
||||
}
|
||||
@@ -49,7 +49,7 @@ class Login {
|
||||
$x = pacrypt('abc', 'def');
|
||||
} catch (\Exception $e) {
|
||||
error_log("Error trying to call pacrypt()");
|
||||
error_log($e);
|
||||
error_log("" . $e);
|
||||
}
|
||||
|
||||
return hash_equals('not', 'comparable');
|
||||
|
Reference in New Issue
Block a user