Commit 9eb1b529 authored by Gaston Dombiak's avatar Gaston Dombiak Committed by gato

Convert username to lowercase before getting password. JM-811

git-svn-id: http://svn.igniterealtime.org/svn/repos/wildfire/trunk@5063 b35dd754-fafc-0310-a699-88a17e54d16e
parent f69303c3
......@@ -12,7 +12,6 @@
package org.jivesoftware.wildfire.auth;
import org.jivesoftware.util.*;
import org.jivesoftware.util.JiveGlobals;
import org.jivesoftware.wildfire.user.UserNotFoundException;
import java.security.MessageDigest;
......@@ -108,7 +107,7 @@ public class AuthFactory {
*/
public static String getPassword(String username) throws UserNotFoundException,
UnsupportedOperationException {
return authProvider.getPassword(username);
return authProvider.getPassword(username.toLowerCase());
}
/**
......
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