Comparison

plugins/mod_saslauth.lua @ 8513:c6be9bbd0a1a

mod_saslauth: Ignore unused argument [luacheck]
author Kim Alvefur <zash@zash.se>
date Sun, 04 Feb 2018 01:05:06 +0100
parent 8512:e924a99fd435
child 9738:f5aa6fdc935e
child 11212:1bfd238e05ad
comparison
equal deleted inserted replaced
8512:e924a99fd435 8513:c6be9bbd0a1a
111 111
112 session.external_auth = "failed" 112 session.external_auth = "failed"
113 session.external_auth_failure_reason = condition; 113 session.external_auth_failure_reason = condition;
114 end, 500) 114 end, 500)
115 115
116 module:hook_tag(xmlns_sasl, "failure", function (session, stanza) 116 module:hook_tag(xmlns_sasl, "failure", function (session, stanza) -- luacheck: ignore 212/stanza
117 session.log("debug", "No fallback from SASL EXTERNAL failure, giving up"); 117 session.log("debug", "No fallback from SASL EXTERNAL failure, giving up");
118 session:close(nil, session.external_auth_failure_reason); 118 session:close(nil, session.external_auth_failure_reason);
119 return true; 119 return true;
120 end, 90) 120 end, 90)
121 121