Fixed: mod_saslauth: Changed anonymous host option from "sasl_anonymous" to "anonymous_login"

Mon, 30 Mar 2009 03:42:47 +0500

author
Waqas Hussain <waqas20@gmail.com>
date
Mon, 30 Mar 2009 03:42:47 +0500
changeset 934
0bda9b5b6a06
parent 933
2a5352e0e10e
child 935
efe3eaaeff34

Fixed: mod_saslauth: Changed anonymous host option from "sasl_anonymous" to "anonymous_login"

plugins/mod_saslauth.lua file | annotate | diff | comparison | revisions
--- 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();

mercurial