diff options
author | Matthew Wild <mwild1@gmail.com> | 2009-10-05 14:59:30 +0100 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2009-10-05 14:59:30 +0100 |
commit | de057a2b2b34a914240d639da067dbae6e9a960b (patch) | |
tree | 4ff8bb1dbd0a415b20e856d9f32d241c86c187e9 /plugins/mod_legacyauth.lua | |
parent | 57d6a05e8313a9644b8fa94b710266a2b4605739 (diff) | |
download | prosody-de057a2b2b34a914240d639da067dbae6e9a960b.tar.gz prosody-de057a2b2b34a914240d639da067dbae6e9a960b.zip |
require_encryption deprecated, use c2s_require_encryption instead
Diffstat (limited to 'plugins/mod_legacyauth.lua')
-rw-r--r-- | plugins/mod_legacyauth.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/mod_legacyauth.lua b/plugins/mod_legacyauth.lua index 4d0d7ca1..c678dce1 100644 --- a/plugins/mod_legacyauth.lua +++ b/plugins/mod_legacyauth.lua @@ -11,7 +11,7 @@ local st = require "util.stanza"; local t_concat = table.concat; -local secure_auth_only = module:get_option("require_encryption"); +local secure_auth_only = module:get_option("c2s_require_encryption") or module:get_option("require_encryption"); local sessionmanager = require "core.sessionmanager"; local usermanager = require "core.usermanager"; |