Skip to content

Commit

Permalink
Делает куки insecure
Browse files Browse the repository at this point in the history
  • Loading branch information
codEnjoyer committed Nov 23, 2023
1 parent 402c866 commit bcfeee3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/src/auth/base_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ def get_jwt_strategy() -> JWTStrategy:
return JWTStrategy(secret=Settings.secret_jwt, lifetime_seconds=60 * 60)


cookie_transport = CookieTransport(cookie_name="adaptify", cookie_max_age=60 * 60)
cookie_transport = CookieTransport(cookie_name="adaptify", cookie_max_age=60 * 60, cookie_secure=False)

auth_backend = AuthenticationBackend(
name="jwt",
Expand Down

0 comments on commit bcfeee3

Please sign in to comment.