diff options
author | Frederic Guillot <fred@kanboard.net> | 2016-03-12 19:12:27 -0500 |
---|---|---|
committer | Frederic Guillot <fred@kanboard.net> | 2016-03-12 19:12:27 -0500 |
commit | ca69fc0be7c48eb7643ab0ae2114ac0be32fe662 (patch) | |
tree | fd3dbb325c64a1c56e2a63298d6b0ca1256e0374 /app | |
parent | 718517e7b25afef749c26c5ea91a163448a759ab (diff) |
Added logging message for API authentication failure
Diffstat (limited to 'app')
-rw-r--r-- | app/Api/Auth.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/Api/Auth.php b/app/Api/Auth.php index c7c5298c..6c6e1ebe 100644 --- a/app/Api/Auth.php +++ b/app/Api/Auth.php @@ -31,6 +31,7 @@ class Auth extends Base } elseif ($this->isAppAuthenticated($username, $password)) { $this->checkProcedurePermission(false, $method); } else { + $this->logger->error('API authentication failure for '.$username); throw new AuthenticationFailure('Wrong credentials'); } } |