mirror of
https://github.com/slawkens/myaac.git
synced 2025-10-14 17:54:55 +02:00
* show error message if cache disabled and login failed
This commit is contained in:
@@ -143,6 +143,9 @@ else
|
||||
$tmp[$ip] = $t;
|
||||
$cache->set('failed_logins', serialize($tmp), 60 * 60); // save for 1 hour
|
||||
}
|
||||
else {
|
||||
$errors[] = 'Account name or password is not correct.';
|
||||
}
|
||||
}
|
||||
}
|
||||
else {
|
||||
|
Reference in New Issue
Block a user