Fix customer views using wrong csrf middleware (#6027)

* Fix customer views using wrong csrf middleware

This lead to persistent csrf validation errors if the token from the cookie expired, which could only be solved by clearing cookies.

* Remove unneccesary csrf_protect decorators

* Fix typo

Co-authored-by: Raphael Michel <michel@pretix.eu>

---------

Co-authored-by: Raphael Michel <michel@pretix.eu>
This commit is contained in:
pajowu
2026-07-10 13:25:40 +02:00
committed by pajowu
co-authored by Raphael Michel
parent e19908571c
commit 76e6803eac
4 changed files with 38 additions and 19 deletions
+1 -1
View File
@@ -22,7 +22,7 @@
import itertools
import re
from http.cookies import Morsel
import logging
from django.conf import settings