Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
ARSnova Backend
Manage
Activity
Members
Labels
Plan
Issues
27
Issue boards
Milestones
Code
Merge requests
1
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Privacy
Imprint
Contact
Snippets
Groups
Projects
Show more breadcrumbs
ARSnova
ARSnova Backend
Commits
2e9a5bb8
Commit
2e9a5bb8
authored
5 years ago
by
Daniel Gerhardt
Browse files
Options
Downloads
Patches
Plain Diff
Fix logout redirection for /v2
parent
ec6ff7a0
Branches
Branches containing commit
1 merge request
!147
Fix multiple bugs and code smells
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/main/java/de/thm/arsnova/controller/v2/AuthenticationController.java
+1
-1
1 addition, 1 deletion
...e/thm/arsnova/controller/v2/AuthenticationController.java
with
1 addition
and
1 deletion
src/main/java/de/thm/arsnova/controller/v2/AuthenticationController.java
+
1
−
1
View file @
2e9a5bb8
...
...
@@ -250,7 +250,7 @@ public class AuthenticationController extends AbstractController {
if
(
auth
instanceof
CasAuthenticationToken
)
{
return
"redirect:"
+
apiPath
+
SecurityConfig
.
CAS_LOGOUT_PATH_SUFFIX
;
}
return
"redirect:"
+
request
.
getHeader
(
"referer"
)
!=
null
?
request
.
getHeader
(
"referer"
)
:
"/"
;
return
"redirect:"
+
(
request
.
getHeader
(
"referer"
)
!=
null
?
request
.
getHeader
(
"referer"
)
:
"/"
)
;
}
@GetMapping
(
"/services"
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment