layerindex-web/templates/registration
Paul Eggleton 23194fc5d4 Add CAPTCHA to registration/password reset forms
Extend and override the default views so we can extend and override the
default forms to add a CAPTCHA field. This should prevent the automated
account creation requests we've been seeing on layers.openembedded.org
(luckily failing anyway due to bad domain names), but in any case this
also improves security by making it harder to do user enumeration.

For the registration page in particular, because Django's forms logic
tries to be helpful by showing all errors at once, we need to change it
so that if there's an error for the CAPTCHA then you only see that error
and no other - in particular you won't see "that username already
exists" if that is the case.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2018-11-06 11:31:07 +13:00
..
activate.html Upgrade to Django 1.6+ 2016-06-12 11:33:08 +12:00
activation_complete.html Added activation_complete template 2013-03-08 16:37:30 +00:00
activation_email_subject.txt Move all templates to a templates directory 2013-03-06 16:55:23 +00:00
activation_email.txt Upgrade to Django 1.6+ 2016-06-12 11:33:08 +12:00
login.html Upgrade to Bootstrap 3 2018-09-20 15:57:59 +12:00
logout.html Move all templates to a templates directory 2013-03-06 16:55:23 +00:00
password_change_done.html Move all templates to a templates directory 2013-03-06 16:55:23 +00:00
password_change_form.html Upgrade to Bootstrap 3 2018-09-20 15:57:59 +12:00
password_reset_complete.html Upgrade to Django 1.6+ 2016-06-12 11:33:08 +12:00
password_reset_confirm.html Upgrade to Bootstrap 3 2018-09-20 15:57:59 +12:00
password_reset_done.html Move all templates to a templates directory 2013-03-06 16:55:23 +00:00
password_reset_email.txt Fixes for django-registration 2.x 2016-09-20 20:46:56 +12:00
password_reset_form.html Upgrade to Bootstrap 3 2018-09-20 15:57:59 +12:00
registration_complete.html Change registered -> created in registration confirmation page 2013-03-28 01:15:25 +00:00
registration_form.html Add CAPTCHA to registration/password reset forms 2018-11-06 11:31:07 +13:00