fix max age
This commit is contained in:
@@ -38,7 +38,7 @@ async def login(
|
||||
httponly=True,
|
||||
samesite="lax",
|
||||
path=settings.api.v1_login_url,
|
||||
max_age=60 * 60 * 24 * 7,
|
||||
max_age=60 * 60 * 24 * settings.refresh_token.expire_days,
|
||||
)
|
||||
return result
|
||||
|
||||
|
||||
Reference in New Issue
Block a user