Software /
code /
prosody
Diff
plugins/mod_saslauth.lua @ 1912:126401a7159f
require_encryption deprecated, use c2s_require_encryption instead
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Mon, 05 Oct 2009 14:59:30 +0100 |
parent | 1847:1842da566c7d |
child | 2013:0bbbc9042361 |
line wrap: on
line diff
--- a/plugins/mod_saslauth.lua Mon Oct 05 14:52:30 2009 +0100 +++ b/plugins/mod_saslauth.lua Mon Oct 05 14:59:30 2009 +0100 @@ -25,7 +25,7 @@ local md5 = require "util.hashes".md5; local config = require "core.configmanager"; -local secure_auth_only = config.get(module:get_host(), "core", "require_encryption"); +local secure_auth_only = config.get(module:get_host(), "core", "c2s_require_encryption") or config.get(module:get_host(), "core", "require_encryption"); local log = module._log;