Commit 3a941010 authored by Gaston Dombiak's avatar Gaston Dombiak Committed by gato

Small refactoring work.

git-svn-id: http://svn.igniterealtime.org/svn/repos/wildfire/trunk@4161 b35dd754-fafc-0310-a699-88a17e54d16e
parent 6b17ff21
......@@ -8,13 +8,16 @@
- a copy of which is included in this distribution.
--%>
<%@ page import="org.jivesoftware.wildfire.handler.IQRegisterHandler,
org.jivesoftware.wildfire.handler.IQAuthHandler,
java.util.*,
<%@ page import="org.jivesoftware.util.ParamUtils,
org.jivesoftware.wildfire.ClientSession,
org.jivesoftware.util.*"
org.jivesoftware.wildfire.handler.IQAuthHandler,
org.jivesoftware.wildfire.handler.IQRegisterHandler,
java.util.HashMap"
errorPage="error.jsp"
%>
<%@ page import="java.util.Iterator"%>
<%@ page import="java.util.Map"%>
<%@ page import="java.util.StringTokenizer"%>
<%@ page import="java.util.regex.Pattern"%>
<%@ taglib uri="http://java.sun.com/jstl/core_rt" prefix="c" %>
......@@ -62,7 +65,7 @@
// Reset the value of page vars:
inbandEnabled = regHandler.isInbandRegEnabled();
canChangePassword = regHandler.canChangePassword();
anonLogin = authHandler.isAllowAnonymous();
anonLogin = authHandler.isAnonymousAllowed();
// Encode the allowed IP addresses
StringBuilder buf = new StringBuilder();
Iterator<String> iter = ClientSession.getAllowedIPs().keySet().iterator();
......
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