layerindex-web/templates
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
..
admin Use Django sites framework to specify website title 2013-12-28 11:03:29 +00:00
layerindex Replace nvd3 with Chart.js 2018-11-06 10:33:39 +13:00
registration Add CAPTCHA to registration/password reset forms 2018-11-06 11:31:07 +13:00
rrs Replace nvd3 with Chart.js 2018-11-06 10:33:39 +13:00
404.html Upgrade to Django 1.6+ 2016-06-12 11:33:08 +12:00
500.html Move all templates to a templates directory 2013-03-06 16:55:23 +00:00
base_toplevel.html Upgrade to Bootstrap 3 2018-09-20 15:57:59 +12:00
base.html Add an email test function 2018-10-01 17:04:44 +13:00
pagination.html Upgrade to Bootstrap 3 2018-09-20 15:57:59 +12:00