Software /
code /
prosody
Changeset
12328:a80314101bc6
mod_legacyauth: Default to require encryption
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Thu, 10 Feb 2022 15:48:34 +0000 |
parents | 12327:4d6f4f6d0814 |
children | 12329:c980210ca095 |
files | plugins/mod_legacyauth.lua |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/plugins/mod_legacyauth.lua Thu Feb 10 18:35:39 2022 +0100 +++ b/plugins/mod_legacyauth.lua Thu Feb 10 15:48:34 2022 +0000 @@ -12,7 +12,7 @@ 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";