diff --git a/app/Api/Auth.php b/app/Api/Auth.php index c7c5298cb..6c6e1ebec 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'); } }