aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorWaqas Hussain <waqas20@gmail.com>2009-03-30 03:42:47 +0500
committerWaqas Hussain <waqas20@gmail.com>2009-03-30 03:42:47 +0500
commite48219e159bea32146882493ca3b89e9f987562e (patch)
treed053d4d6b16bf6e2b8cbf6c3d0f0345f779933db /plugins
parente8ddd3e1823ace40dc96e73212904c3329b10092 (diff)
downloadprosody-e48219e159bea32146882493ca3b89e9f987562e.tar.gz
prosody-e48219e159bea32146882493ca3b89e9f987562e.zip
Fixed: mod_saslauth: Changed anonymous host option from "sasl_anonymous" to "anonymous_login"
Diffstat (limited to 'plugins')
-rw-r--r--plugins/mod_saslauth.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/mod_saslauth.lua b/plugins/mod_saslauth.lua
index d3f32be3..32047719 100644
--- a/plugins/mod_saslauth.lua
+++ b/plugins/mod_saslauth.lua
@@ -107,7 +107,7 @@ module:add_event_hook("stream-features",
-- 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();