Software /
code /
prosody
Changeset
3391:8ac3f60af3c4
mod_saslauth: Got rid of undocumented and useless 'sasl_realm' config option (was only used for anonymous auth, and that didn't make sense).
author | Waqas Hussain <waqas20@gmail.com> |
---|---|
date | Sun, 18 Jul 2010 17:50:38 +0500 |
parents | 3390:a88576f675cb |
children | 3392:6e31b49c4ab8 |
files | plugins/mod_saslauth.lua |
diffstat | 1 files changed, 1 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/plugins/mod_saslauth.lua Sat Jul 17 19:36:14 2010 +0500 +++ b/plugins/mod_saslauth.lua Sun Jul 18 17:50:38 2010 +0500 @@ -159,9 +159,8 @@ if secure_auth_only and not origin.secure then return; end - local realm = module:get_option("sasl_realm") or origin.host; if anonymous_login then - origin.sasl_handler = new_sasl(realm, anonymous_authentication_profile); + origin.sasl_handler = new_sasl(module.host, anonymous_authentication_profile); else origin.sasl_handler = usermanager_get_sasl_handler(module.host); if not (module:get_option("allow_unencrypted_plain_auth")) and not origin.secure then