gui: log unsuccessful login attempts

Signed-off-by: Janos SUTO <sj@acts.hu>
This commit is contained in:
Janos SUTO
2017-09-07 12:12:08 +02:00
parent 03900aef6e
commit 549d9cf03b
2 changed files with 7 additions and 1 deletions

View File

@ -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']++;
}