Add CSRF token to logout form in base template
All checks were successful
Build and Deploy / build-and-deploy (push) Successful in 38s
All checks were successful
Build and Deploy / build-and-deploy (push) Successful in 38s
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -20,6 +20,7 @@
|
||||
<a href="{{ url_for('identity.choose_username_form') }}" class="hover:underline">Choose username</a>
|
||||
{% endif %}
|
||||
<form method="post" action="{{ url_for('auth.logout') }}" class="inline">
|
||||
<input type="hidden" name="csrf_token" value="{{ csrf_token() }}">
|
||||
<button type="submit" class="hover:underline">Logout</button>
|
||||
</form>
|
||||
{% else %}
|
||||
|
||||
Reference in New Issue
Block a user