view plugins/mod_register.lua @ 13915:9a69918b5e63 13.0

mod_storage_sql: Assert that serialization of archive:set() payload succeeds Potentially encountered on a production server - the assert() should prevent more subtle failure modes, and help us pinpoint the root cause.
author Matthew Wild <mwild1@gmail.com>
date Tue, 22 Jul 2025 16:34:27 +0100
parents bb010c3c8c93
children
line wrap: on
line source

-- Prosody IM
-- Copyright (C) 2008-2010 Matthew Wild
-- Copyright (C) 2008-2010 Waqas Hussain
--
-- This project is MIT/X11 licensed. Please see the
-- COPYING file in the source package for more information.
--


local allow_registration = module:get_option_boolean("allow_registration", false);

if allow_registration then
	module:depends("register_ibr");
	module:depends("watchregistrations");
end

module:depends("user_account_management");