Skip to content

Commit

Permalink
config: configure Flask-KVSession
Browse files Browse the repository at this point in the history
  • Loading branch information
Diego Rodriguez committed May 11, 2020
1 parent 7ce93c0 commit 1f897b4
Showing 1 changed file with 9 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,15 @@ def _(x):
#: client. Set to False, in case of doubt.
ACCOUNTS_USERINFO_HEADERS = True

# Sessions
# ========
#: SameSite cookie type to be used to store user sessions.
SESSION_COOKIE_SAMESITE = 'Strict'

#: Session maniputalion interface (Flask-KVSession).
SESSION_INTERFACE_FACTORY = \
'invenio_accounts.sessions:KVSessionInterfaceStoreAuthenticated'

# Celery configuration
# ====================

Expand Down

0 comments on commit 1f897b4

Please sign in to comment.