Skip to content

Commit

Permalink
Fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
EreMaijala committed May 27, 2024
1 parent 4b4bd69 commit 1a2ad81
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion module/VuFind/src/VuFind/Controller/OAuth2Controller.php
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ public function authorizeAction()
$userIdentifierField = $this->oauth2Config['Server']['userIdentifierField'] ?? 'id';
$patron = $this->catalogLogin();
if (is_array($patron)) {
$patronLoginView = $patron;
$patronLoginView = null;
} else {
$patronLoginView = $this->forwardTo('MyResearch', 'CatalogLogin');
$patronLoginView->showMenu = false;
Expand Down

0 comments on commit 1a2ad81

Please sign in to comment.