Commit 2488cad9 authored by Bill Lynch's avatar Bill Lynch Committed by bill

Added logout logic


git-svn-id: http://svn.igniterealtime.org/svn/repos/messenger/trunk@354 b35dd754-fafc-0310-a699-88a17e54d16e
parent 03dba436
...@@ -26,6 +26,14 @@ ...@@ -26,6 +26,14 @@
<%-- Define page bean for header and sidebar --%> <%-- Define page bean for header and sidebar --%>
<jsp:useBean id="pageinfo" scope="request" class="org.jivesoftware.admin.AdminPageBean" /> <jsp:useBean id="pageinfo" scope="request" class="org.jivesoftware.admin.AdminPageBean" />
<% // Simple logout code
if ("true".equals(request.getParameter("logout"))) {
session.removeAttribute("jive.admin.authToken");
response.sendRedirect("index.jsp");
return;
}
%>
<%-- Define Administration Bean --%> <%-- Define Administration Bean --%>
<jsp:useBean id="webManager" class="org.jivesoftware.util.WebManager" /> <jsp:useBean id="webManager" class="org.jivesoftware.util.WebManager" />
<% webManager.init(request, response, session, application, out); %> <% webManager.init(request, response, session, application, out); %>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment