Skip to content
Snippets Groups Projects
Commit 8554cfba authored by Jan-Hendrik Willms's avatar Jan-Hendrik Willms
Browse files

fix typo in oauth2 autorize controller, fixes #4333

parent e84d398f
No related branches found
No related tags found
No related merge requests found
...@@ -55,7 +55,7 @@ class Api_Oauth2_AuthorizeController extends OAuth2Controller ...@@ -55,7 +55,7 @@ class Api_Oauth2_AuthorizeController extends OAuth2Controller
if ('nobody' === $GLOBALS['user']->id && 'Standard' !== $authPlugin && !Request::option('sso')) { if ('nobody' === $GLOBALS['user']->id && 'Standard' !== $authPlugin && !Request::option('sso')) {
$queryParams = $psrRequest->getQueryParams(); $queryParams = $psrRequest->getQueryParams();
$queryParams['sso'] = strtolower($authPlugin); $queryParams['sso'] = strtolower($authPlugin);
$this->redirect($this->url_for('api/oaut2/authorize', $queryParams)); $this->redirect($this->url_for('api/oauth2/authorize', $queryParams));
return; return;
} else { } else {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment