Diff

plugins/mod_register_ibr.lua @ 12330:38b5b05407be

various: Require encryption by default for real These options have been specified (and enabled) in the default config file for a long time. However if unspecified in the config, they were not enabled. Now they are. This may result in a change of behaviour for people using very old config files that lack the require_encryption options. But that's what we want.
author Kim Alvefur <zash@zash.se>
date Sat, 25 Dec 2021 16:23:40 +0100
parent 10946:84441c19750e
child 12977:74b9e05af71e
line wrap: on
line diff
--- a/plugins/mod_register_ibr.lua	Thu Feb 10 15:49:01 2022 +0000
+++ b/plugins/mod_register_ibr.lua	Sat Dec 25 16:23:40 2021 +0100
@@ -18,7 +18,7 @@
 
 local additional_fields = module:get_option("additional_registration_fields", {});
 local require_encryption = module:get_option_boolean("c2s_require_encryption",
-	module:get_option_boolean("require_encryption", false));
+	module:get_option_boolean("require_encryption", true));
 
 pcall(function ()
 	module:depends("register_limits");