mirror of
https://github.com/grocy/grocy.git
synced 2025-04-29 17:45:39 +00:00
This commit is contained in:
parent
3f1135713a
commit
5b05254816
@ -58,6 +58,7 @@ class ApiKeyAuthMiddleware extends AuthMiddleware
|
|||||||
if ($request->getQueryParam('secret') !== null && $apiKeyService->IsValidApiKey($request->getQueryParam('secret'), ApiKeyService::API_KEY_TYPE_SPECIAL_PURPOSE_CALENDAR_ICAL))
|
if ($request->getQueryParam('secret') !== null && $apiKeyService->IsValidApiKey($request->getQueryParam('secret'), ApiKeyService::API_KEY_TYPE_SPECIAL_PURPOSE_CALENDAR_ICAL))
|
||||||
{
|
{
|
||||||
$validApiKey = true;
|
$validApiKey = true;
|
||||||
|
$usedApiKey = $request->getQueryParam('secret');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user