diff options
author | Matthew Wild <mwild1@gmail.com> | 2022-02-10 15:48:34 +0000 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2022-02-10 15:48:34 +0000 |
commit | a53ffcca735a64ed727e38d9f440a75b08b0ab9b (patch) | |
tree | 9da34225f1b4bc0a3f10992a9bddae4aff7c6e72 /plugins | |
parent | ca1d202df0464ad72e98d7d341c407d271d7d64a (diff) | |
download | prosody-a53ffcca735a64ed727e38d9f440a75b08b0ab9b.tar.gz prosody-a53ffcca735a64ed727e38d9f440a75b08b0ab9b.zip |
mod_legacyauth: Default to require encryption
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/mod_legacyauth.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/mod_legacyauth.lua b/plugins/mod_legacyauth.lua index 941806d3..52f2c143 100644 --- a/plugins/mod_legacyauth.lua +++ b/plugins/mod_legacyauth.lua @@ -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"; |