mod_legacyauth: Default to require encryption

This commit is contained in:
Matthew Wild 2022-02-10 15:48:34 +00:00
parent ca1d202df0
commit a53ffcca73

View file

@ -12,7 +12,7 @@ local st = require "util.stanza";
local t_concat = table.concat;
local secure_auth_only = module:get_option("c2s_require_encryption",
module:get_option("require_encryption"))
module:get_option("require_encryption", true))
or not(module:get_option("allow_unencrypted_plain_auth"));
local sessionmanager = require "core.sessionmanager";