diff options
author | Tobias Markmann <tm@ayena.de> | 2009-11-26 23:18:26 +0100 |
---|---|---|
committer | Tobias Markmann <tm@ayena.de> | 2009-11-26 23:18:26 +0100 |
commit | c65488fc2befa056ce844e59fa3472c0a297bd7e (patch) | |
tree | 7dd0fc09b115d90496866dc0406d4a8254a4a514 /plugins | |
parent | 44b3480e14445945d009e6a7eb2fec94e085920c (diff) | |
download | prosody-c65488fc2befa056ce844e59fa3472c0a297bd7e.tar.gz prosody-c65488fc2befa056ce844e59fa3472c0a297bd7e.zip |
mod_saslauth: Allow relogins after failed SASL login.
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/mod_saslauth.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/mod_saslauth.lua b/plugins/mod_saslauth.lua index 04e33b29..9d4b27a1 100644 --- a/plugins/mod_saslauth.lua +++ b/plugins/mod_saslauth.lua @@ -75,7 +75,7 @@ end local function handle_status(session, status) if status == "failure" then - session.sasl_handler = nil; + session.sasl_handler = sesion.sasl_handler:clean_clone(); elseif status == "success" then local username = nodeprep(session.sasl_handler.username); if not username then -- TODO move this to sessionmanager |