1
0
mirror of https://github.com/mailcow/mailcow-dockerized.git synced 2025-06-27 00:51:24 +02:00
This commit is contained in:
andryyy
2017-05-26 23:02:34 +02:00
4 changed files with 7 additions and 0 deletions

View File

@ -169,6 +169,7 @@ function check_login($user, $pass) {
}
elseif (!isset($_SESSION['mailcow_cc_username'])) {
$_SESSION['ldelay'] = $_SESSION['ldelay']+0.5;
error_log("Mailcow UI: Invalid password for " . $user . " by " . $_SERVER['REMOTE_ADDR']);
}
sleep($_SESSION['ldelay']);
}