Diff

plugins/mod_saslauth.lua @ 934:0bda9b5b6a06

Fixed: mod_saslauth: Changed anonymous host option from "sasl_anonymous" to "anonymous_login"
author Waqas Hussain <waqas20@gmail.com>
date Mon, 30 Mar 2009 03:42:47 +0500
parent 896:2c0b9e3c11c3
child 935:efe3eaaeff34
line wrap: on
line diff
--- a/plugins/mod_saslauth.lua	Mon Mar 30 03:23:23 2009 +0500
+++ b/plugins/mod_saslauth.lua	Mon Mar 30 03:42:47 2009 +0500
@@ -107,7 +107,7 @@
 				-- TODO: Provide PLAIN only if TLS is active, this is a SHOULD from the introduction of RFC 4616. This behavior could be overridden via configuration but will issuing a warning or so.
 					features:tag("mechanism"):text("PLAIN"):up();
 					features:tag("mechanism"):text("DIGEST-MD5"):up();
-					if config.get(session.host or "*", "core", "sasl_anonymous") then
+					if config.get(session.host or "*", "core", "anonymous_login") then
 						features:tag("mechanism"):text("ANONYMOUS"):up();
 					end
 				features:up();