# HG changeset patch # User Tobias Markmann # Date 1259273906 -3600 # Node ID ee6ac55a72d67f343e791ba18233f72abeb65792 # Parent ac3bd7c42c8b22acc8af1b2b324f7cc743049269 mod_saslauth: Allow relogins after failed SASL login. diff -r ac3bd7c42c8b -r ee6ac55a72d6 plugins/mod_saslauth.lua --- a/plugins/mod_saslauth.lua Thu Nov 26 23:11:02 2009 +0100 +++ b/plugins/mod_saslauth.lua Thu Nov 26 23:18:26 2009 +0100 @@ -75,7 +75,7 @@ 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