plugins/mod_legacyauth.lua

changeset 1687
0e061ebf565e
parent 1523
841d61be198f
child 1688
a39a253b5b89
--- a/plugins/mod_legacyauth.lua	Tue Aug 11 21:33:24 2009 +0100
+++ b/plugins/mod_legacyauth.lua	Thu Aug 13 16:45:47 2009 +0500
@@ -47,7 +47,6 @@
 			else
 				username, password, resource = t_concat(username), t_concat(password), t_concat(resource);
 				local reply = st.reply(stanza);
-				require "core.usermanager"
 				if usermanager.validate_credentials(session.host, username, password) then
 					-- Authentication successful!
 					local success, err = sessionmanager.make_authenticated(session, username);

mercurial