comparison mod_register_redirect.wiki @ 217:1203d8b8a8a2

mod_register_redirect: minor tweak.
author Marco Cirillo <maranda@lightwitch.org>
date Thu, 22 Sep 2011 17:03:13 +0000
parents 062ee740d924
children 19a544b455b8
comparison
equal deleted inserted replaced
216:5e99840c5de7 217:1203d8b8a8a2
11 11
12 = Usage = 12 = Usage =
13 13
14 Copy the module file into your Prosody modules directory. 14 Copy the module file into your Prosody modules directory.
15 15
16 Then set the following options into your config file: 16 The module will work "out of the box" as long as at least an admin entry is specified (see admins = {} option into prosody's documentation).
17 These are the optional parameters you can specify into your global server/hostname configuration:
17 {{{ 18 {{{
18 registration_whitelist = { "*your whitelisted web server ip address*" } 19 registration_whitelist = { "*your whitelisted web server ip address*" }
19 registrarion_url = "*your web registration page url*" 20 registrarion_url = "*your web registration page url*"
20 registration_text = "Your custom instructions banner here" 21 registration_text = "Your custom instructions banner here"
21 registration_oob = true (default) or false, in the case there's no applicable OOB method (e.g. the server admins needs to be contacted by phone) 22 registration_oob = true (default) or false, in the case there's no applicable OOB method (e.g. the server admins needs to be contacted by phone)