Skip to content

Commit

Permalink
added expired time for cookie
Browse files Browse the repository at this point in the history
  • Loading branch information
ychebyshev committed Mar 7, 2024
1 parent 72140b3 commit 1a28b8b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions shvatka/api/utils/cookie_auth.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,4 +49,5 @@ def set_auth_response(config: AuthConfig, response: Response, token: Token) -> N
domain=config.domain,
httponly=config.httponly,
secure=config.secure,
max_age=config.token_expire.seconds,
)

0 comments on commit 1a28b8b

Please sign in to comment.