Update login.py with new auth settings

This commit is contained in:
Gabriel Luiz Freitas Almeida 2024-02-19 13:36:38 -03:00
commit d2c1d86f67

View file

@ -37,7 +37,7 @@ async def login_to_get_access_token(
response.set_cookie(
"refresh_token_lf",
tokens["refresh_token"],
httponly=auth_settings.REFRESH_TOKEN_HTTPONLY,
httponly=auth_settings.REFRESH_HTTPONLY,
samesite=auth_settings.REFRESH_SAME_SITE,
secure=auth_settings.REFRESH_SECURE,
)