Skip to content

Commit

Permalink
try to use default cookie without httponly
Browse files Browse the repository at this point in the history
  • Loading branch information
bomzheg committed Feb 17, 2024
1 parent dcb4770 commit e119e9c
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions shvatka/api/dependencies/auth.py
Original file line number Diff line number Diff line change
Expand Up @@ -130,10 +130,6 @@ async def login(
response.set_cookie(
"Authorization",
value=f"{token.token_type} {token.access_token}",
domain=self.config.domain,
secure=True,
max_age=self.config.token_expire.seconds,
expires=self.config.token_expire.seconds,
)
return {"ok": True}

Expand Down

0 comments on commit e119e9c

Please sign in to comment.