Comparison

plugins/mod_saslauth.lua @ 10334:2147942710bb

mod_saslauth: Remove useless debug log line Fairly useless to only log half of SASL messages. Use mod_stanza_debug instead to get the full exchange.
author Kim Alvefur <zash@zash.se>
date Sun, 13 Oct 2019 00:33:35 +0200
parent 10333:780905981542
child 10337:39111f0e83d0
comparison
equal deleted inserted replaced
10333:780905981542 10334:2147942710bb
73 end 73 end
74 end 74 end
75 local status, ret, err_msg = session.sasl_handler:process(text); 75 local status, ret, err_msg = session.sasl_handler:process(text);
76 status, ret, err_msg = handle_status(session, status, ret, err_msg); 76 status, ret, err_msg = handle_status(session, status, ret, err_msg);
77 local s = build_reply(status, ret, err_msg); 77 local s = build_reply(status, ret, err_msg);
78 log("debug", "sasl reply: %s", s);
79 session.send(s); 78 session.send(s);
80 return true; 79 return true;
81 end 80 end
82 81
83 module:hook_tag(xmlns_sasl, "success", function (session) 82 module:hook_tag(xmlns_sasl, "success", function (session)