Browse Source

SEC-404: Correct previous SEC-404 commit.

Ben Alex 18 năm trước cách đây
mục cha
commit
e169e63e1b

+ 1 - 1
core/src/main/java/org/acegisecurity/ui/rememberme/TokenBasedRememberMeServices.java

@@ -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) {