Added logging message for API authentication failure
This commit is contained in:
parent
718517e7b2
commit
ca69fc0be7
|
|
@ -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');
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue