summaryrefslogtreecommitdiff
path: root/app/Api
diff options
context:
space:
mode:
Diffstat (limited to 'app/Api')
-rw-r--r--app/Api/Auth.php1
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');
}
}