mirror of
https://github.com/bjc/prosody.git
synced 2025-04-05 14:17:37 +03:00
mod_legacyauth, mod_saslauth, mod_tls: Pass require_encryption as default option to s2s_require_encryption so the later overrides the former
This commit is contained in:
parent
a196567853
commit
fbd277b5c8
3 changed files with 4 additions and 4 deletions
|
@ -11,8 +11,8 @@
|
|||
local st = require "util.stanza";
|
||||
local t_concat = table.concat;
|
||||
|
||||
local secure_auth_only = module:get_option("c2s_require_encryption")
|
||||
or module:get_option("require_encryption")
|
||||
local secure_auth_only = module:get_option("c2s_require_encryption",
|
||||
module:get_option("require_encryption"))
|
||||
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