plugins/mod_register.lua
author Kim Alvefur <zash@zash.se>
Sat, 07 Oct 2017 22:00:50 +0200
changeset 8487 f591855f060d
parent 8467 1a0b76b07b7a
child 8488 0e02c6de5c02
permissions -rw-r--r--
mod_register: Split into mod_register_ibr and mod_user_account_management (#723) - mod_register_ibr handles in-band registration - mod_user_account_management handles password change and user deletion

-- 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");
end

module:depends("user_account_management");