diff options
author | Matthew Wild <mwild1@gmail.com> | 2010-05-20 11:05:43 +0100 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2010-05-20 11:05:43 +0100 |
commit | e0c6bb2b56733117b2290052f266a5e5df7b12d9 (patch) | |
tree | 1db891df1ab4287be328de9de6b41c212dcc2202 /plugins | |
parent | f2b14d6d07c54889e1ece23b3fd10f348526be45 (diff) | |
download | prosody-e0c6bb2b56733117b2290052f266a5e5df7b12d9.tar.gz prosody-e0c6bb2b56733117b2290052f266a5e5df7b12d9.zip |
mod_saslauth: Allow the Cyrus SASL realm to be configurable
Diffstat (limited to 'plugins')
-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 c0360553..6e158463 100644 --- a/plugins/mod_saslauth.lua +++ b/plugins/mod_saslauth.lua @@ -45,7 +45,7 @@ elseif sasl_backend == "cyrus" then if ok then local cyrus_new = cyrus.new; new_sasl = function(realm) - return cyrus_new(realm, module:get_option("cyrus_service_name") or "xmpp"); + return cyrus_new(module:get_option("cyrus_service_realm") or realm, module:get_option("cyrus_service_name") or "xmpp"); end else module:log("error", "Failed to load Cyrus SASL because: %s", cyrus); |