From ca69fc0be7c48eb7643ab0ae2114ac0be32fe662 Mon Sep 17 00:00:00 2001 From: Frederic Guillot Date: Sat, 12 Mar 2016 19:12:27 -0500 Subject: Added logging message for API authentication failure --- app/Api/Auth.php | 1 + 1 file changed, 1 insertion(+) (limited to 'app/Api') 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'); } } -- cgit v1.2.3