Commit 049139d4 authored by Matt Tucker's avatar Matt Tucker Committed by matt

Fixed bad redirect logic.

git-svn-id: http://svn.igniterealtime.org/svn/repos/wildfire/trunk@6116 b35dd754-fafc-0310-a699-88a17e54d16e
parent 2a0d5011
...@@ -43,9 +43,12 @@ ...@@ -43,9 +43,12 @@
%> %>
<%-- Check if in setup mode --%> <%-- Check if in setup mode --%>
<c:if test="${admin.setupMode}"> <%
<c:redirect url="setup/index.jsp" /> if (admin.isSetupMode()) {
</c:if> response.sendRedirect("setup/index.jsp");
return;
}
%>
<% // get parameters <% // get parameters
String username = ParamUtils.getParameter(request,"username"); String username = ParamUtils.getParameter(request,"username");
......
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