diff options
author | Parker <contact@pkrm.dev> | 2024-12-19 06:54:10 -0600 |
---|---|---|
committer | Parker <contact@pkrm.dev> | 2024-12-19 06:54:10 -0600 |
commit | cfbaf8a0b2afa86cd06ca10932e59cc27071f714 (patch) | |
tree | 65c33cb2fc05335d37d1d1a67c138a80906c5c6b /api | |
parent | c8e7ea736561ebcafcf8c4f0e508b4797e40535f (diff) |
Set cookies to secure (HTTPS)
Diffstat (limited to 'api')
-rw-r--r-- | api/routes/auth_routes.py | 2 |
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 |