aboutsummaryrefslogtreecommitdiff
path: root/app/controllers/api
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:24:24 +0200
commit8554cfba3de68a4242ea574bd9c4e980ac6cff20 (patch)
tree2d2ee21e91e4ff0dcf8a1c2951c0c7f50b463d32 /app/controllers/api
parente84d398fb21acc5be3ea296e9284d88496c29563 (diff)
fix typo in oauth2 autorize controller, fixes #4333
Diffstat (limited to 'app/controllers/api')
-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 b71f3d1..6387937 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 {