mirror of
https://github.com/grocy/grocy.git
synced 2025-08-17 11:06:36 +00:00
Allow API keys in ReverseProxyAuthMiddleware (closes #1216)
This commit is contained in:
@@ -16,7 +16,6 @@ class LdapAuthMiddleware extends AuthMiddleware
|
||||
// First try to authenticate by API key
|
||||
$auth = new ApiKeyAuthMiddleware($this->AppContainer, $this->ResponseFactory);
|
||||
$user = $auth->authenticate($request);
|
||||
|
||||
if ($user !== null)
|
||||
{
|
||||
return $user;
|
||||
|
Reference in New Issue
Block a user