aboutsummaryrefslogtreecommitdiff
path: root/app/controllers
diff options
context:
space:
mode:
authorJan-Hendrik Willms <tleilax+studip@gmail.com>2024-06-20 11:21:38 +0000
committerJan-Hendrik Willms <tleilax+studip@gmail.com>2024-06-20 11:21:38 +0000
commitb04a8f60a9750dc4e152a180cb2a0ca1994ec54c (patch)
tree041870b86a5f47acfe6db00704ad71170097c013 /app/controllers
parent6ff5f9c2b09a244bbb627eb7ab21d2154ba264c3 (diff)
fix typo in oauth2 autorize controller, fixes #4333
Closes #4333 Merge request studip/studip!3134
Diffstat (limited to 'app/controllers')
-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 {