Commit 6d7ce981 authored by Daniel Henninger's avatar Daniel Henninger Committed by dhenninger

[JM-1316] Redirect to first setup page if session has timed out.

git-svn-id: http://svn.igniterealtime.org/svn/repos/openfire/trunk@10770 b35dd754-fafc-0310-a699-88a17e54d16e
parent a8171c13
......@@ -24,6 +24,11 @@
%>
<%
if (session == null || session.getAttribute("xmppSettings") == null || session.getAttribute("xmlSettings") == null) {
// Session appears to have timed out, send back to first page.
response.sendRedirect("index.jsp");
}
// First, update with XMPPSettings
Map<String,String> xmppSettings = (Map<String,String>)session.getAttribute("xmppSettings");
for (String name : xmppSettings.keySet()) {
......
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