Skip to content

Commit

Permalink
Set session secure and samesite attrs
Browse files Browse the repository at this point in the history
- Modify config.ini:
  - Set session.secure = true
  - Set session.samesite = None
- See this issue in the original OLD: dativebase/old#94.
  • Loading branch information
jrwdunham committed Jan 16, 2022
1 parent 62962cd commit c56ba79
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions config.ini
Original file line number Diff line number Diff line change
Expand Up @@ -104,10 +104,9 @@ session.secret = db49238825c4409897b39f49f29e4d77
# OLD_SESSION_COOKIE_EXPIRES
session.cookie_expires = true

# The following changes may be needed. See this issue in the
# original OLD: https://github.com/dativebase/old/issues/94
# session.secure = true
# session.samesite = None
# See this issue in the original OLD: https://github.com/dativebase/old/issues/94
session.secure = true
session.samesite = None

# SQLAlchemy config
# ------------------------------------------------------------------------------
Expand Down

0 comments on commit c56ba79

Please sign in to comment.