remove the list from response.vary. not sure why I was getting an error using openid without it, but everything seems to be working fine now
This commit is contained in:
parent
b3c4cbd5c1
commit
05ceada051
@ -111,7 +111,7 @@ class CsrfMeddleware(BaseMeddleware):
|
||||
httponly=True)
|
||||
|
||||
# update the Vary header
|
||||
response.vary = list(getattr(response, 'vary', None) or []) + ['Cookie']
|
||||
response.vary = (getattr(response, 'vary', None) or []) + ['Cookie']
|
||||
|
||||
def _make_token(self, request):
|
||||
"""Generate a new token to use for CSRF protection."""
|
||||
|
Loading…
x
Reference in New Issue
Block a user