CIM67 - Update Block users

This commit is contained in:
“VeLiTi”
2024-04-16 14:54:31 +02:00
parent 32965b319f
commit 4bd3dad3de
4 changed files with 15 additions and 5 deletions

View File

@@ -50,7 +50,7 @@ if ($_SERVER['REQUEST_METHOD'] === 'POST') {
if ($responses === 'NOK'){
$retry++;
$password_err = 'Not authorized, please retry';
} elseif ($responses == 1){
} elseif ($responses == '1'){
$password_err = 'Too many login attempts. User blocked, please contact your administrator';
} else {
// Start a new session