Skip to content

Commit 124bf6c

Browse files
committed
Adjust request handler usage to Flow 7 middleware API
1 parent c2a6a00 commit 124bf6c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Classes/OAuthClient.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -460,7 +460,7 @@ public function renderFinishAuthorizationUri(): string
460460
{
461461
$currentRequestHandler = $this->bootstrap->getActiveRequestHandler();
462462
if ($currentRequestHandler instanceof HttpRequestHandlerInterface) {
463-
$httpRequest = $currentRequestHandler->getComponentContext()->getHttpRequest();
463+
$httpRequest = $currentRequestHandler->getHttpRequest();
464464
} else {
465465
putenv('FLOW_REWRITEURLS=1');
466466
$httpRequest = $this->serverRequestFactory->createServerRequest('GET', new Uri($this->flowBaseUriSetting));

0 commit comments

Comments
 (0)