aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_saslauth.lua
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2017-04-01 22:38:02 +0200
committerKim Alvefur <zash@zash.se>2017-04-01 22:38:02 +0200
commitc27589b44c5312d9119d0152ed4dcf1b5492414c (patch)
tree54caf551ee6f37067537da4cfe6cdd84050f92a0 /plugins/mod_saslauth.lua
parent2364604bc18ed52d599160a169a465d85a20a0c6 (diff)
parent3e4952567c828aa7a475fa9bcc48f794d92fdf2c (diff)
downloadprosody-c27589b44c5312d9119d0152ed4dcf1b5492414c.tar.gz
prosody-c27589b44c5312d9119d0152ed4dcf1b5492414c.zip
Merge 0.10->trunk
Diffstat (limited to 'plugins/mod_saslauth.lua')
-rw-r--r--plugins/mod_saslauth.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/mod_saslauth.lua b/plugins/mod_saslauth.lua
index 8bbf6349..81400e45 100644
--- a/plugins/mod_saslauth.lua
+++ b/plugins/mod_saslauth.lua
@@ -82,7 +82,7 @@ local function sasl_process_cdata(session, stanza)
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"