forked from CGM_Public/pretix_original
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:
committed by
pajowu
co-authored by
Raphael Michel
parent
e19908571c
commit
76e6803eac
@@ -22,7 +22,7 @@
|
||||
import itertools
|
||||
import re
|
||||
from http.cookies import Morsel
|
||||
import logging
|
||||
|
||||
from django.conf import settings
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user