mirror of
https://github.com/postfixadmin/postfixadmin.git
synced 2026-11-20 23:43:26 +03:00
reformat
This commit is contained in:
1 parent
61585e8b02
commit
79737bc049
2 files changed
+3
-4
No files matched your search
+2
-3
@@ -35,7 +35,7 @@ class Login {
|
||||
error_log("Error while trying to call pacrypt()");
|
||||
error_log($e);
|
||||
hash_equals("not", "comparable");
|
||||
return false; // just refuse to login?
|
||||
return false; // just refuse to login?
|
||||
}
|
||||
return hash_equals($row['password'], $crypt_password);
|
||||
}
|
||||
@@ -43,8 +43,7 @@ class Login {
|
||||
// try and be near constant time regardless of whether the db user exists or not
|
||||
try {
|
||||
$x = pacrypt('abc', 'def');
|
||||
}
|
||||
catch(\Exception $e) {
|
||||
} catch (\Exception $e) {
|
||||
error_log("Error trying to call pacrypt()");
|
||||
error_log($e);
|
||||
}
|
||||
|
||||
@@ -67,7 +67,7 @@ session_unset();
|
||||
session_destroy();
|
||||
session_start();
|
||||
|
||||
if($error) {
|
||||
if ($error) {
|
||||
flash_error($error);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user