mirror of
https://github.com/postfixadmin/postfixadmin.git
synced 2026-11-20 23:43:26 +03:00
fix from #1156
This commit is contained in:
1 file changed
+1
-1
@@ -77,7 +77,7 @@ if ($_SERVER['REQUEST_METHOD'] == "POST") {
|
||||
header("Location: main.php");
|
||||
exit(0);
|
||||
} else {
|
||||
error_log("PostfixAdmin admin second factor login failed (username: " . authentication_get_username(). ", ip_address: {$_SERVER['REMOTE_ADDR']})");
|
||||
error_log("PostfixAdmin admin second factor login failed (username: " . authentication_get_username(false). ", ip_address: {$_SERVER['REMOTE_ADDR']})");
|
||||
$error = $PALANG['pTotp_failed'];
|
||||
flash_error($PALANG['pTotp_failed']);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user