aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan-Hendrik Willms <tleilax+github@gmail.com>2024-06-20 13:23:55 +0200
committerJan-Hendrik Willms <tleilax+github@gmail.com>2024-06-20 13:23:55 +0200
commite84d398fb21acc5be3ea296e9284d88496c29563 (patch)
treeca7488618e73297f676991a4e46c6f34ee58f96d
parentb04a8f60a9750dc4e152a180cb2a0ca1994ec54c (diff)
Revert "fix typo in oauth2 autorize controller, fixes #4333"
This reverts commit b04a8f60a9750dc4e152a180cb2a0ca1994ec54c.
-rw-r--r--app/controllers/api/oauth2/authorize.php2
-rw-r--r--resources/vue/components/tree/StudipTreeList.vue2
2 files changed, 2 insertions, 2 deletions
diff --git a/app/controllers/api/oauth2/authorize.php b/app/controllers/api/oauth2/authorize.php
index 6387937..b71f3d1 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/oauth2/authorize', $queryParams));
+ $this->redirect($this->url_for('api/oaut2/authorize', $queryParams));
return;
} else {
diff --git a/resources/vue/components/tree/StudipTreeList.vue b/resources/vue/components/tree/StudipTreeList.vue
index a9b2f1a..2ab489c 100644
--- a/resources/vue/components/tree/StudipTreeList.vue
+++ b/resources/vue/components/tree/StudipTreeList.vue
@@ -92,7 +92,7 @@
<tr v-for="(course) in courses" :key="course.id" class="studip-tree-child studip-tree-course">
<td>
<a :href="courseUrl(course.id)" tabindex="0"
- :title="$gettextInterpolate($gettext('fZur Veranstaltung %{ title }'),
+ :title="$gettextInterpolate($gettext('Zur Veranstaltung %{ title }'),
{ title: course.attributes.title })">
<studip-icon shape="seminar" :size="26"></studip-icon>
<template v-if="course.attributes['course-number']">