Commit 0006621b authored by Matt Tucker's avatar Matt Tucker Committed by matt

Minor tweaks.

git-svn-id: http://svn.igniterealtime.org/svn/repos/wildfire/trunk@3619 b35dd754-fafc-0310-a699-88a17e54d16e
parent f6c174e7
...@@ -13,7 +13,6 @@ package org.jivesoftware.wildfire.auth; ...@@ -13,7 +13,6 @@ package org.jivesoftware.wildfire.auth;
import org.jivesoftware.util.Log; import org.jivesoftware.util.Log;
import org.jivesoftware.util.StringUtils; import org.jivesoftware.util.StringUtils;
import org.jivesoftware.util.JiveGlobals; import org.jivesoftware.util.JiveGlobals;
import org.jivesoftware.wildfire.auth.*;
import org.jivesoftware.wildfire.user.*; import org.jivesoftware.wildfire.user.*;
import java.sql.DriverManager; import java.sql.DriverManager;
...@@ -197,7 +196,6 @@ public class JDBCAuthProvider implements AuthProvider { ...@@ -197,7 +196,6 @@ public class JDBCAuthProvider implements AuthProvider {
catch (UserNotFoundException unfe) { catch (UserNotFoundException unfe) {
try { try {
Log.debug("Automatically creating new user account for " + username); Log.debug("Automatically creating new user account for " + username);
UserProvider provider = UserManager.getUserProvider();
UserManager.getUserProvider().createUser(username, StringUtils.randomString(8), UserManager.getUserProvider().createUser(username, StringUtils.randomString(8),
null, null); null, null);
} }
......
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