diff --git a/server/main.py b/server/main.py index 58285dd..e9ef27c 100644 --- a/server/main.py +++ b/server/main.py @@ -113,7 +113,7 @@ async def login(apikey: str, resp: Response): return {"msg": obj["msg"]} username = obj["data"]["username"] tkn = await create_token(username) - resp.set_cookie("session", tkn) + resp.set_cookie("session", tkn, secure=True, samesite="None") return {}