Add simple captcha

This commit is contained in:
rubenwardy
2021-04-17 02:08:54 +01:00
parent 3612c1747e
commit c0719fdeaa
3 changed files with 16 additions and 5 deletions

View File

@@ -32,6 +32,11 @@ Register
<code>{{ suggested_password }}</code>
</p>
<p>
<img src="/static/puzzle.png" />
</p>
{{ render_field(form.question, hint=_("Please prove that you are human")) }}
{% set label %}
{{ _("I agree to the ") }}
<a href="{{ url_for('flatpage', path='privacy_policy') }} ">