mirror of
https://github.com/bjc/prosody.git
synced 2025-04-03 21:27:38 +03:00
mod_saslauth: Remove unused argument [luacheck]
This commit is contained in:
parent
c95b62d5e2
commit
3e4952567c
1 changed files with 1 additions and 1 deletions
|
@ -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"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue