Skip to content

Commit cc35daa

Browse files
authored
Merge pull request #19 from flownative/flow-7-compatibility
Flow 7 compatibility
2 parents 1862e6d + c8e06bb commit cc35daa

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
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));

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"email": "[email protected]"
1616
},
1717
"require": {
18-
"neos/flow": "^4.0 || ^5.0 || ^6.0 || dev-master",
18+
"neos/flow": "^6.0 || ^7.0 || dev-master",
1919
"guzzlehttp/guzzle": "^6.3",
2020
"league/oauth2-client": "^2.0",
2121
"ramsey/uuid": "^3.0 || ^4.0",

0 commit comments

Comments
 (0)