Software /
code /
prosody
Diff
plugins/mod_legacyauth.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 | 1836:f4c88dd32724 |
child | 2610:c9ed79940b2e |
child | 2923:b7049746bd29 |
line wrap: on
line diff
--- a/plugins/mod_legacyauth.lua Mon Oct 05 14:52:30 2009 +0100 +++ b/plugins/mod_legacyauth.lua Mon Oct 05 14:59:30 2009 +0100 @@ -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";