Software /
code /
prosody
Changeset
1687:0e061ebf565e
mod_legacyauth: Removed useless 'require' call on every login attempt
author | Waqas Hussain <waqas20@gmail.com> |
---|---|
date | Thu, 13 Aug 2009 16:45:47 +0500 |
parents | 1667:c7bb2264e3b8 |
children | 1688:a39a253b5b89 |
files | plugins/mod_legacyauth.lua |
diffstat | 1 files changed, 0 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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);