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