From c7b276705aa5197803a0ce487f864f510efa42ff Mon Sep 17 00:00:00 2001
From: Jeremy Fee <jmfee@usgs.gov>
Date: Tue, 21 Apr 2020 12:50:38 -0600
Subject: [PATCH] Switch to just no-cache for secure

---
 geomagio/api/secure/SessionMiddleware.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/geomagio/api/secure/SessionMiddleware.py b/geomagio/api/secure/SessionMiddleware.py
index 402160f02..1138e0797 100644
--- a/geomagio/api/secure/SessionMiddleware.py
+++ b/geomagio/api/secure/SessionMiddleware.py
@@ -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};"
-- 
GitLab