aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWaqas Hussain <waqas20@gmail.com>2009-08-13 16:45:47 +0500
committerWaqas Hussain <waqas20@gmail.com>2009-08-13 16:45:47 +0500
commit42d4cad137c929a61aff5a32fc581861206c91d1 (patch)
tree6c2f5cca67f0154f8c7f56e956b3f080b88ac3f6
parent158d975fa11fc6a655d6152b0f891c6963bd1881 (diff)
downloadprosody-42d4cad137c929a61aff5a32fc581861206c91d1.tar.gz
prosody-42d4cad137c929a61aff5a32fc581861206c91d1.zip
mod_legacyauth: Removed useless 'require' call on every login attempt
-rw-r--r--plugins/mod_legacyauth.lua1
1 files changed, 0 insertions, 1 deletions
diff --git a/plugins/mod_legacyauth.lua b/plugins/mod_legacyauth.lua
index de94411e..3c4e9c82 100644
--- a/plugins/mod_legacyauth.lua
+++ b/plugins/mod_legacyauth.lua
@@ -47,7 +47,6 @@ module:add_iq_handler("c2s_unauthed", "jabber:iq:auth",
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);