mirror of
https://github.com/bjc/prosody.git
synced 2025-04-01 20:27:39 +03:00
mod_legacyauth: Default to require encryption
This commit is contained in:
parent
ca1d202df0
commit
a53ffcca73
1 changed files with 1 additions and 1 deletions
|
@ -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";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue