Software /
code /
prosody
Changeset
52:93e468eb2ffb
Fix for destruction of unauthed SASL sessions
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Sat, 04 Oct 2008 15:24:52 +0100 |
parents | 50:56272224ca4c |
children | 53:14ea0fe6ca86 |
files | plugins/mod_saslauth.lua |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/plugins/mod_saslauth.lua Sat Oct 04 14:36:03 2008 +0100 +++ b/plugins/mod_saslauth.lua Sat Oct 04 15:24:52 2008 +0100 @@ -33,6 +33,7 @@ local success, err = sessionmanager.make_authenticated(session, username); if not success then sessionmanager.destroy_session(session); + return; end session.sasl_handler = nil; session.connhandler = new_connhandler("xmpp-client", session);