Commit f6dbe58e authored by Gaston Dombiak's avatar Gaston Dombiak Committed by gato

Fixed typo that was affecting logging a warning. JM-1487

git-svn-id: http://svn.igniterealtime.org/svn/repos/openfire/trunk@10893 b35dd754-fafc-0310-a699-88a17e54d16e
parent 789528bc
......@@ -9,9 +9,9 @@
*/
package org.jivesoftware.admin;
import org.jivesoftware.util.TaskEngine;
import org.jivesoftware.util.JiveGlobals;
import org.jivesoftware.util.Log;
import org.jivesoftware.util.TaskEngine;
import java.util.Map;
import java.util.TimerTask;
......@@ -118,7 +118,7 @@ public class LoginLimitManager {
}
cnt++;
attemptsPerUsername.put(username, cnt);
if (cnt > maxAttemptsPerIP) {
if (cnt > maxAttemptsPerUsername) {
Log.warn("Login attempt limit breeched for username "+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