Skip to content
Snippets Groups Projects
Commit 22fa45f2 authored by Daniel Gerhardt's avatar Daniel Gerhardt
Browse files

Fix redirection for CAS logout

Bug was introduced in 0d050f02.
parent 1074c64c
Branches
Tags
No related merge requests found
......@@ -288,7 +288,7 @@ public class LoginController extends AbstractController {
if ("".equals(apiPath)) {
apiPath = request.getContextPath();
}
return new RedirectView(apiPath + "/j_spring_cas_security_logout", true);
return new RedirectView(apiPath + "/j_spring_cas_security_logout");
}
return new RedirectView(request.getHeader("referer") != null ? request.getHeader("referer") : "/");
}
......
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