SEC-404: Correct previous SEC-404 commit.

This commit is contained in:
Ben Alex 2007-01-02 23:36:38 +00:00
parent 3f62a5c868
commit e169e63e1b
1 changed files with 1 additions and 1 deletions

View File

@ -292,7 +292,7 @@ public class TokenBasedRememberMeServices implements RememberMeServices, Initial
}
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) {