mirror of
https://github.com/grocy/grocy.git
synced 2026-04-10 14:36:16 +02: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…
Reference in New Issue
Block a user