Added logging message for API authentication failure
This commit is contained in:
@@ -31,6 +31,7 @@ class Auth extends Base
|
|||||||
} elseif ($this->isAppAuthenticated($username, $password)) {
|
} elseif ($this->isAppAuthenticated($username, $password)) {
|
||||||
$this->checkProcedurePermission(false, $method);
|
$this->checkProcedurePermission(false, $method);
|
||||||
} else {
|
} else {
|
||||||
|
$this->logger->error('API authentication failure for '.$username);
|
||||||
throw new AuthenticationFailure('Wrong credentials');
|
throw new AuthenticationFailure('Wrong credentials');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user