small performance and security changes
This commit is contained in:
@@ -229,7 +229,8 @@ def set_user_session(response: Response, session: UserSession, access_token: str
|
||||
value=session.to_cookie_value(),
|
||||
httponly=True,
|
||||
max_age=60 * 60 * 24 * 7,
|
||||
samesite="lax"
|
||||
samesite="lax",
|
||||
secure=True,
|
||||
)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user