From cfbaf8a0b2afa86cd06ca10932e59cc27071f714 Mon Sep 17 00:00:00 2001 From: Parker Date: Thu, 19 Dec 2024 06:54:10 -0600 Subject: [PATCH] Set cookies to secure (HTTPS) --- api/routes/auth_routes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/routes/auth_routes.py b/api/routes/auth_routes.py index 823feff..b625da3 100644 --- a/api/routes/auth_routes.py +++ b/api/routes/auth_routes.py @@ -43,7 +43,7 @@ async def login_for_access_token( key="access_token", value=access_token, httponly=True, # Prevents client-side access - # secure=True, # Cookies are only sent over HTTPS + secure=True, # Cookies are only sent over HTTPS ) return response