KNOX-2684 - Fixed logout.jsp compilation issue (#511)
diff --git a/gateway-applications/src/main/resources/applications/knoxauth/app/logout.jsp b/gateway-applications/src/main/resources/applications/knoxauth/app/logout.jsp
index 3504c7f..1821ac7 100644
--- a/gateway-applications/src/main/resources/applications/knoxauth/app/logout.jsp
+++ b/gateway-applications/src/main/resources/applications/knoxauth/app/logout.jsp
@@ -142,7 +142,7 @@
// do nothing
// we are probably not going to be able to
// remove the cookie due to this error but it
- // isn't necessarily not going to work.
+ // is not necessarily not going to work.
}
setCookie.append("; HttpOnly");
setCookie.append("; Secure");
@@ -152,9 +152,7 @@
} catch (Exception e) {
return "";
}
- response.setStatus(HttpServletResponse.SC_TEMPORARY_REDIRECT);
- response.setHeader("Location", globalLogoutPageURL);
- return;
+ }
%>
</head>