forked from CGM_Public/pretix_original
Fix tests
This commit is contained in:
@@ -50,7 +50,7 @@ def set_cookie_without_samesite(request, response, key, *args, **kwargs):
|
|||||||
|
|
||||||
|
|
||||||
def delete_cookie_without_samesite(request, response, key, *args, **kwargs):
|
def delete_cookie_without_samesite(request, response, key, *args, **kwargs):
|
||||||
kwargs['expires'] = datetime.utcfromtimestamp(0).strftime("%a, %d %b %Y %H:%M:%S GMT")
|
kwargs['expires'] = datetime.fromtimestamp(0).strftime("%a, %d %b %Y %H:%M:%S GMT")
|
||||||
set_cookie_without_samesite(request, response, key, *args, **kwargs)
|
set_cookie_without_samesite(request, response, key, *args, **kwargs)
|
||||||
|
|
||||||
# Based on https://www.chromium.org/updates/same-site/incompatible-clients
|
# Based on https://www.chromium.org/updates/same-site/incompatible-clients
|
||||||
|
|||||||
Reference in New Issue
Block a user