Skip to content

Commit c829f27

Browse files
committed
psr7
1 parent 1304ea5 commit c829f27

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Controller/ApprovalController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ class ApprovalController extends ServerController
1010
public function __invoke(ServerRequestInterface $request, array $args) : ResponseInterface
1111
{
1212
$clientId = $args['clientId'];
13-
$returnUrl = $_GET['returnUrl'];
13+
$returnUrl = $request->getQueryParams()['returnUrl'];
1414

1515
return $this->createTemplateResponse('approval.html', [
1616
'clientId' => $clientId,

0 commit comments

Comments
 (0)