Software /
code /
prosody
Comparison
plugins/mod_saslauth.lua @ 10333:780905981542
mod_saslauth: Remove commented-out debug log line
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sun, 13 Oct 2019 00:32:58 +0200 |
parent | 10111:0f335815244f |
child | 10334:2147942710bb |
comparison
equal
deleted
inserted
replaced
10332:e05ea8223b32 | 10333:780905981542 |
---|---|
64 | 64 |
65 local function sasl_process_cdata(session, stanza) | 65 local function sasl_process_cdata(session, stanza) |
66 local text = stanza[1]; | 66 local text = stanza[1]; |
67 if text then | 67 if text then |
68 text = base64.decode(text); | 68 text = base64.decode(text); |
69 --log("debug", "AUTH: %s", text:gsub("[%z\001-\008\011\012\014-\031]", " ")); | |
70 if not text then | 69 if not text then |
71 session.sasl_handler = nil; | 70 session.sasl_handler = nil; |
72 session.send(build_reply("failure", "incorrect-encoding")); | 71 session.send(build_reply("failure", "incorrect-encoding")); |
73 return true; | 72 return true; |
74 end | 73 end |