SEC-359: Logout even if not logged in.

This commit is contained in:
Ben Alex 2006-11-13 06:05:28 +00:00
parent fa6b4480b1
commit 5911234f65
1 changed files with 2 additions and 4 deletions

View File

@ -94,10 +94,8 @@ public class LogoutFilter implements Filter {
logger.debug("Logging out user '" + auth + "' and redirecting to logout page");
}
if (auth != null) {
for (int i = 0; i < handlers.length; i++) {
handlers[i].logout(httpRequest, httpResponse, auth);
}
for (int i = 0; i < handlers.length; i++) {
handlers[i].logout(httpRequest, httpResponse, auth);
}
sendRedirect(httpRequest, httpResponse, logoutSuccessUrl);