author | Kim Alvefur <zash@zash.se> |
Sat, 01 Apr 2017 22:34:15 +0200 | |
changeset 8045 | 5d5afaafac0f |
parent 8044 | 3b2cc22e9b5b |
child 8046 | e7561d56008d |
child 8048 | 55a56dc935f2 |
--- a/plugins/mod_saslauth.lua Sat Apr 01 22:30:37 2017 +0200 +++ b/plugins/mod_saslauth.lua Sat Apr 01 22:34:15 2017 +0200 @@ -82,7 +82,7 @@ return true; end -module:hook_tag(xmlns_sasl, "success", function (session, stanza) +module:hook_tag(xmlns_sasl, "success", function (session) if session.type ~= "s2sout_unauthed" or session.external_auth ~= "attempting" then return; end module:log("debug", "SASL EXTERNAL with %s succeeded", session.to_host); session.external_auth = "succeeded"