--- a/plugins/mod_register.lua Wed Oct 31 14:18:36 2018 +0000
+++ b/plugins/mod_register.lua Wed Nov 07 17:49:34 2018 +0100
@@ -11,7 +11,6 @@
if allow_registration then
module:depends("register_ibr");
- module:depends("register_limits");
end
module:depends("user_account_management");
--- a/plugins/mod_register_ibr.lua Wed Oct 31 14:18:36 2018 +0000
+++ b/plugins/mod_register_ibr.lua Wed Nov 07 17:49:34 2018 +0100
@@ -18,6 +18,10 @@
local require_encryption = module:get_option_boolean("c2s_require_encryption",
module:get_option_boolean("require_encryption", false));
+pcall(function ()
+ module:depends("register_limits");
+end);
+
local account_details = module:open_store("account_details");
local field_map = {