Skip to content
Snippets Groups Projects
Commit 82283cc1 authored by Julian Hochstetter's avatar Julian Hochstetter
Browse files

Guest Login fails because of wrong redirection

parent bb9b4d40
Branches
Tags
No related merge requests found
......@@ -104,7 +104,7 @@ public class LoginController {
SecurityContextHolder.getContext().setAuthentication(token);
request.getSession(true).setAttribute(HttpSessionSecurityContextRepository.SPRING_SECURITY_CONTEXT_KEY, SecurityContextHolder.getContext());
return new RedirectView(referer != null ? referer : "/" + "#auth/checkLogin");
return new RedirectView((referer != null ? referer : "/") + "#auth/checkLogin");
}
return null;
}
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment