# HG changeset patch # User MWild1@gmail.com # Date 1352579594 0 # Node ID 466bdf312547f28091cba998b37acc85ab1a0a75 # Parent 35702f67785fdf5366ff6d565743deb671bd1afc Created wiki page through web user interface. diff -r 35702f67785f -r 466bdf312547 mod_register_web.wiki --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mod_register_web.wiki Sat Nov 10 20:33:14 2012 +0000 @@ -0,0 +1,38 @@ +#summary A web interface to register user accounts +#labels Stage-Alpha + += Introduction = + +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. + += Details = + +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.). + += Configuration = + +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]. + +To configure the CAPTCHA you need to supply a 'captcha_options' option: + +{{{ + captcha_options = { + recaptcha_private_key = "12345"; + recaptcha_public_key = "78901"; + } +}}} + +The keys for reCaptcha are available in your reCaptcha account, visit [http://recaptcha.net/ recaptcha.net] for more info. + += Compatibility = +|| 0.9 || Works || +|| 0.8 || Doesn't work || + += Todo = + +Lots. The module is very basic at the moment. In particular I would like to see: + + * Customisation (CSS and/or HTML) + * Different CAPTCHA implementation support + * Collection of additional data, such as email address + * The module kept simple! \ No newline at end of file