Skip to content

Commit 555352d

Browse files
Stefan WeilUBMA Sysadmins
authored andcommitted
Fix code in OpenIDConnect.php
1 parent 9b63f3a commit 555352d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

module/VuFind/src/VuFind/Auth/OpenIDConnect.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -418,8 +418,8 @@ public function logout($url)
418418
*/
419419
protected function getRequestToken(string $code): object
420420
{
421-
if ($this->requestTokens[code] ?? false) {
422-
return $this->requestTokens[code];
421+
if ($this->requestTokens[$code] ?? false) {
422+
return $this->requestTokens[$code];
423423
}
424424
$provider = $this->getProvider();
425425
$url = $provider->token_endpoint;

0 commit comments

Comments
 (0)