Skip to content
Snippets Groups Projects
Commit c7b27670 authored by Jeremy M Fee's avatar Jeremy M Fee
Browse files

Switch to just no-cache for secure

parent 52a1b357
No related branches found
No related tags found
No related merge requests found
......@@ -113,7 +113,7 @@ class SessionMiddleware:
self, message: Message, value: str, max_age: int = None,
):
headers = MutableHeaders(scope=message)
headers.append("Cache-Control", "no-cache, no-store")
headers.append("Cache-Control", "no-cache")
headers.append(
"Set-Cookie",
f"{self.session_cookie}={value};"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment