aboutsummaryrefslogtreecommitdiff
path: root/api
diff options
context:
space:
mode:
authorParker <contact@pkrm.dev>2024-12-19 06:54:10 -0600
committerParker <contact@pkrm.dev>2024-12-19 06:54:10 -0600
commitcfbaf8a0b2afa86cd06ca10932e59cc27071f714 (patch)
tree65c33cb2fc05335d37d1d1a67c138a80906c5c6b /api
parentc8e7ea736561ebcafcf8c4f0e508b4797e40535f (diff)
Set cookies to secure (HTTPS)
Diffstat (limited to 'api')
-rw-r--r--api/routes/auth_routes.py2
1 files changed, 1 insertions, 1 deletions
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