Comparison

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
comparison
equal deleted inserted replaced
1911:bfe120db1ec4 1912:126401a7159f
9 9
10 10
11 local st = require "util.stanza"; 11 local st = require "util.stanza";
12 local t_concat = table.concat; 12 local t_concat = table.concat;
13 13
14 local secure_auth_only = module:get_option("require_encryption"); 14 local secure_auth_only = module:get_option("c2s_require_encryption") or module:get_option("require_encryption");
15 15
16 local sessionmanager = require "core.sessionmanager"; 16 local sessionmanager = require "core.sessionmanager";
17 local usermanager = require "core.usermanager"; 17 local usermanager = require "core.usermanager";
18 local nodeprep = require "util.encodings".stringprep.nodeprep; 18 local nodeprep = require "util.encodings".stringprep.nodeprep;
19 local resourceprep = require "util.encodings".stringprep.resourceprep; 19 local resourceprep = require "util.encodings".stringprep.resourceprep;