310
|
1 #summary A web interface to register user accounts |
|
2 #labels Stage-Alpha |
|
3 |
|
4 = Introduction = |
|
5 |
|
6 There are various reasons to prefer web registration instead of "in-band" account registration over XMPP. For example the lack of CAPTCHA support in clients and servers. |
|
7 |
|
8 = Details = |
|
9 |
|
10 mod_register_web has Prosody serve a web page where users can sign up for an account. It implements reCaptcha to prevent automated sign-ups (from bots, etc.). |
|
11 |
|
12 = Configuration = |
|
13 |
|
14 The module is served on Prosody's default HTTP ports at the path `/register_web`. More details on configuring HTTP modules in Prosody can be found in our [http://prosody.im/doc/http HTTP documentation]. |
|
15 |
|
16 To configure the CAPTCHA you need to supply a 'captcha_options' option: |
|
17 |
|
18 {{{ |
|
19 captcha_options = { |
|
20 recaptcha_private_key = "12345"; |
|
21 recaptcha_public_key = "78901"; |
|
22 } |
|
23 }}} |
|
24 |
|
25 The keys for reCaptcha are available in your reCaptcha account, visit [http://recaptcha.net/ recaptcha.net] for more info. |
|
26 |
|
27 = Compatibility = |
|
28 || 0.9 || Works || |
|
29 || 0.8 || Doesn't work || |
|
30 |
|
31 = Todo = |
|
32 |
|
33 Lots. The module is very basic at the moment. In particular I would like to see: |
|
34 |
|
35 * Customisation (CSS and/or HTML) |
|
36 * Different CAPTCHA implementation support |
|
37 * Collection of additional data, such as email address |
|
38 * The module kept simple! |