aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan-Hendrik Willms <tleilax+github@gmail.com>2024-06-20 13:24:24 +0200
committerJan-Hendrik Willms <tleilax+github@gmail.com>2024-06-20 13:25:13 +0200
commitb857df14ecc4adc28cbdedce62d46ea14c232626 (patch)
treefd3aaac41d44d30226222577d4ba61fcfd54e35c
parentb75af28e015e8b9c91275017f38103186187ac48 (diff)
fix typo in oauth2 autorize controller, fixes #4333
-rw-r--r--app/controllers/api/oauth2/authorize.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/api/oauth2/authorize.php b/app/controllers/api/oauth2/authorize.php
index aa608ba..ac2556c 100644
--- a/app/controllers/api/oauth2/authorize.php
+++ b/app/controllers/api/oauth2/authorize.php
@@ -55,7 +55,7 @@ class Api_Oauth2_AuthorizeController extends OAuth2Controller
if ('nobody' === $GLOBALS['user']->id && 'Standard' !== $authPlugin && !Request::option('sso')) {
$queryParams = $psrRequest->getQueryParams();
$queryParams['sso'] = strtolower($authPlugin);
- $this->redirect($this->url_for('api/oaut2/authorize', $queryParams));
+ $this->redirect($this->url_for('api/oauth2/authorize', $queryParams));
return;
} else {