1
0
mirror of https://github.com/postfixadmin/postfixadmin.git synced 2025-08-09 05:02:44 +03:00

hint for future people

This commit is contained in:
David Goodwin
2021-01-25 17:00:16 +00:00
parent 34e0367a0b
commit a442b7331d

View File

@@ -43,6 +43,7 @@ class Login {
// try and be near constant time regardless of whether the db user exists or not // try and be near constant time regardless of whether the db user exists or not
try { try {
// this causes errors with e.g. dovecot as there is no prefix.
$x = pacrypt('abc', 'def'); $x = pacrypt('abc', 'def');
} catch (\Exception $e) { } catch (\Exception $e) {
error_log("Error trying to call pacrypt()"); error_log("Error trying to call pacrypt()");