fixed some thangs, implemented cloudflare turnstile

This commit is contained in:
pacnpal
2024-10-29 13:31:30 -04:00
parent 66114514c1
commit e00ea42c47
17 changed files with 234 additions and 33 deletions

View File

@@ -2,6 +2,7 @@
{% load i18n %}
{% load account socialaccount %}
{% load static %}
{% load turnstile_tags %}
{% block title %}Login - ThrillWiki{% endblock %}
@@ -88,6 +89,8 @@
</div>
</div>
{% turnstile_widget %}
{% if redirect_field_value %}
<input type="hidden" name="{{ redirect_field_name }}" value="{{ redirect_field_value }}">
{% endif %}

View File

@@ -2,6 +2,7 @@
{% load i18n %}
{% load account socialaccount %}
{% load static %}
{% load turnstile_tags %}
{% block title %}Register - ThrillWiki{% endblock %}
@@ -116,6 +117,8 @@
{% endif %}
</div>
{% turnstile_widget %}
{% if redirect_field_value %}
<input type="hidden" name="{{ redirect_field_name }}" value="{{ redirect_field_value }}">
{% endif %}