Mercurial > prosody-wiki
comparison mod_register_url.wiki @ 106:73b69658aefe
Renamed mod_regredirect wiki to reflect name change. (mod_register_url)
author | Marco Cirillo <maranda@lightwitch.org> |
---|---|
date | Wed, 30 Dec 2009 15:58:53 +0000 |
parents | mod_regredirect.wiki@9f866bc3281b |
children | 799524731e7a |
comparison
equal
deleted
inserted
replaced
105:9f866bc3281b | 106:73b69658aefe |
---|---|
1 #summary XEP-077 IBR Registration Redirect. | |
2 #labels Stage-Beta | |
3 | |
4 = Introduction = | |
5 | |
6 Registration Redirect as explained in IBR xep. | |
7 | |
8 = Details = | |
9 | |
10 This simple module, lets you redirect users who come from ips not in the registration_whitelist config options to an Url of your choice. | |
11 | |
12 = Usage = | |
13 | |
14 Copy the module file into your prosody modules directory. | |
15 | |
16 Then set the following options into your config file. | |
17 {{{ | |
18 registration_whitelist = { "*your whitelisted web server ip address*" } | |
19 registrarion_url = "*your web registration page url*" | |
20 }}} | |
21 | |
22 You can find an example of working web registration form using JsJaC (javascript) at the following url http://register.lightwitch.org | |
23 | |
24 = Compatibility = | |
25 | |
26 0.7 should work. | |
27 0.6 works. | |
28 0.5 untested. |