From 23d641d2899efad9d24956e025a2fe0fd21bdbe1 Mon Sep 17 00:00:00 2001
From: pcain-usgs <pcain@usgs.gov>
Date: Mon, 3 May 2021 08:51:59 -0600
Subject: [PATCH] add no cache header to login response

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

diff --git a/geomagio/api/secure/app.py b/geomagio/api/secure/app.py
index 753b9e3b..8ced54ab 100644
--- a/geomagio/api/secure/app.py
+++ b/geomagio/api/secure/app.py
@@ -52,4 +52,5 @@ async def index(request: Request, user: User = Depends(current_user)):
 </body>
 </html>""",
         media_type="text/html",
+        headers={"Cache-control": "no-cache"},
     )
-- 
GitLab