mirror of
https://bitbucket.org/jsuto/piler.git
synced 2025-06-13 02:57:04 +02:00
gui: log unsuccessful login attempts
Signed-off-by: Janos SUTO <sj@acts.hu>
This commit is contained in:
@ -83,6 +83,8 @@ class ControllerLoginLogin extends Controller {
|
||||
}
|
||||
}
|
||||
else {
|
||||
LOGGER('login failed', $this->request->post['username']);
|
||||
|
||||
$this->model_user_auth->increment_failed_login_count($this->data['failed_login_count']);
|
||||
$this->data['failed_login_count']++;
|
||||
}
|
||||
|
Reference in New Issue
Block a user