aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_saslauth.lua
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2009-10-05 14:59:30 +0100
committerMatthew Wild <mwild1@gmail.com>2009-10-05 14:59:30 +0100
commitde057a2b2b34a914240d639da067dbae6e9a960b (patch)
tree4ff8bb1dbd0a415b20e856d9f32d241c86c187e9 /plugins/mod_saslauth.lua
parent57d6a05e8313a9644b8fa94b710266a2b4605739 (diff)
downloadprosody-de057a2b2b34a914240d639da067dbae6e9a960b.tar.gz
prosody-de057a2b2b34a914240d639da067dbae6e9a960b.zip
require_encryption deprecated, use c2s_require_encryption instead
Diffstat (limited to 'plugins/mod_saslauth.lua')
-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 cbaaaa38..dc310e18 100644
--- a/plugins/mod_saslauth.lua
+++ b/plugins/mod_saslauth.lua
@@ -25,7 +25,7 @@ local jid_split = require "util.jid".split
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;