Changeset

8479:867679b0fb03

mod_saslauth: Log which mechanisms are offered
author Kim Alvefur <zash@zash.se>
date Thu, 21 Dec 2017 10:15:47 +0100
parents 8478:384658c7a26a
children 8480:3d3706147174 8494:4f75f4da6d4e
files plugins/mod_saslauth.lua
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/plugins/mod_saslauth.lua	Tue Dec 12 01:40:09 2017 +0100
+++ b/plugins/mod_saslauth.lua	Thu Dec 21 10:15:47 2017 +0100
@@ -263,6 +263,7 @@
 			elseif not origin.secure and insecure_mechanisms:contains(mechanism) then
 				log("debug", "Not offering mechanism %s on insecure connection", mechanism);
 			else
+				log("debug", "Offering mechanism %s", mechanism);
 				mechanisms:tag("mechanism"):text(mechanism):up();
 			end
 		end