view plugins/mod_register.lua @ 13295:b788307ca06a

migrator: Update default config template with new stores * mod_authz_internal adds account_roles * mod_cron has its state * mod_smacks also has some non-critical state
author Kim Alvefur <zash@zash.se>
date Wed, 01 Nov 2023 19:02:02 +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");