mirror of
https://github.com/spring-projects/spring-security.git
synced 2025-06-26 13:53:14 +00:00
SEC-404: Correct previous SEC-404 commit.
This commit is contained in:
parent
3f62a5c868
commit
e169e63e1b
@ -292,7 +292,7 @@ public class TokenBasedRememberMeServices implements RememberMeServices, Initial
|
|||||||
}
|
}
|
||||||
|
|
||||||
public void logout(HttpServletRequest request, HttpServletResponse response, Authentication authentication) {
|
public void logout(HttpServletRequest request, HttpServletResponse response, Authentication authentication) {
|
||||||
cancelCookie(request, response, "Logout of user " + authentication == null ? "Unknown" : authentication.getName());
|
cancelCookie(request, response, "Logout of user " + (authentication == null ? "Unknown" : authentication.getName()));
|
||||||
}
|
}
|
||||||
|
|
||||||
protected Cookie makeCancelCookie(HttpServletRequest request) {
|
protected Cookie makeCancelCookie(HttpServletRequest request) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user