Commit 44ddd36e authored by Gaston Dombiak's avatar Gaston Dombiak Committed by gato

Fixed anonymous logins.

git-svn-id: http://svn.igniterealtime.org/svn/repos/openfire/trunk@10010 b35dd754-fafc-0310-a699-88a17e54d16e
parent 6a2c28fc
...@@ -552,7 +552,7 @@ public class SASLAuthentication { ...@@ -552,7 +552,7 @@ public class SASLAuthentication {
private static void authenticationSuccessful(LocalSession session, String username, private static void authenticationSuccessful(LocalSession session, String username,
byte[] successData) { byte[] successData) {
if (LockOutManager.getInstance().isAccountDisabled(username)) { if (username != null && LockOutManager.getInstance().isAccountDisabled(username)) {
// Interception! This person is locked out, fail instead! // Interception! This person is locked out, fail instead!
LockOutManager.getInstance().recordFailedLogin(username); LockOutManager.getInstance().recordFailedLogin(username);
authenticationFailed(session); authenticationFailed(session);
......
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