diff options
author | Waqas Hussain <waqas20@gmail.com> | 2009-03-30 03:42:47 +0500 |
---|---|---|
committer | Waqas Hussain <waqas20@gmail.com> | 2009-03-30 03:42:47 +0500 |
commit | e48219e159bea32146882493ca3b89e9f987562e (patch) | |
tree | d053d4d6b16bf6e2b8cbf6c3d0f0345f779933db /plugins/mod_saslauth.lua | |
parent | e8ddd3e1823ace40dc96e73212904c3329b10092 (diff) | |
download | prosody-e48219e159bea32146882493ca3b89e9f987562e.tar.gz prosody-e48219e159bea32146882493ca3b89e9f987562e.zip |
Fixed: mod_saslauth: Changed anonymous host option from "sasl_anonymous" to "anonymous_login"
Diffstat (limited to 'plugins/mod_saslauth.lua')
-rw-r--r-- | plugins/mod_saslauth.lua | 2 |
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(); |