Commit 82283cc1 authored by Julian Hochstetter's avatar Julian Hochstetter

Guest Login fails because of wrong redirection

parent bb9b4d40
......@@ -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;
}
......
Markdown is supported
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