Redirect users after sign in to their desired page

This commit is contained in:
Sebastian Serth
2023-11-30 23:01:39 +01:00
parent cee3ceb188
commit 5ddc5a8ca5
7 changed files with 84 additions and 18 deletions

View File

@ -294,6 +294,7 @@ de:
application:
not_authorized: Sie sind nicht berechtigt, diese Aktion auszuführen.
not_found: Die angeforderte Ressource konnte nicht gefunden werden.
not_signed_in: Sie müssen angemeldet sein, um diese Aktion auszuführen.
welcome:
text_signed_in_as_external_user: 'Bitte rufen Sie %{application_name} von einer E-Learning-Plattform auf.'
text_signed_in_as_internal_user: 'Schön, Sie zu sehen, %{user_name}!'
@ -892,6 +893,8 @@ de:
new:
forgot_password: Passwort vergessen?
headline: Anmelden
instructors_only: 'Zugriff ausschließlich für Lehrende:'
instructors_only_explanation: Das Anmelden mittels Passwort ist ausschließlich Lehrenden vorbehalten. Als Lernende:r greifen Sie bitte über die E-Learning-Plattform auf %{application_name} zu, um direkt zu einer Aufgabe zu gelangen.
link: Anmelden
remember_me: Angemeldet bleiben
oauth:

View File

@ -294,6 +294,7 @@ en:
application:
not_authorized: You are not authorized to perform this action.
not_found: The requested resource could not be found.
not_signed_in: You must be signed in to perform this action.
welcome:
text_signed_in_as_external_user: 'Please access %{application_name} from an e-learning platform.'
text_signed_in_as_internal_user: 'Good to see you, %{user_name}!'
@ -893,6 +894,8 @@ en:
forgot_password: Forgot password?
headline: Sign In
link: Sign In
instructors_only: 'Exclusive access for instructors:'
instructors_only_explanation: Signing in via password is reserved exclusively for instructors. As a learner, please access %{application_name} via the e-learning platform to proceed directly to an exercise.
remember_me: Remember me
oauth:
failure: 'Sorry, something went wrong.'