diff options
author | Waqas Hussain <waqas20@gmail.com> | 2009-08-13 16:45:47 +0500 |
---|---|---|
committer | Waqas Hussain <waqas20@gmail.com> | 2009-08-13 16:45:47 +0500 |
commit | 42d4cad137c929a61aff5a32fc581861206c91d1 (patch) | |
tree | 6c2f5cca67f0154f8c7f56e956b3f080b88ac3f6 /plugins | |
parent | 158d975fa11fc6a655d6152b0f891c6963bd1881 (diff) | |
download | prosody-42d4cad137c929a61aff5a32fc581861206c91d1.tar.gz prosody-42d4cad137c929a61aff5a32fc581861206c91d1.zip |
mod_legacyauth: Removed useless 'require' call on every login attempt
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/mod_legacyauth.lua | 1 |
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); |