1
0
mirror of https://github.com/janeczku/calibre-web synced 2024-11-28 12:30:00 +00:00

Remove WTF_CSRF_SSL_STRICT workaround for missing referrers

This commit is contained in:
Ozzie Isaacs 2021-10-17 16:00:02 +02:00
parent 7671a1d5c8
commit 9e4aeac16d

View File

@ -72,6 +72,7 @@ app.config.update(
SESSION_COOKIE_HTTPONLY=True,
SESSION_COOKIE_SAMESITE='Lax',
REMEMBER_COOKIE_SAMESITE='Lax', # will be available in flask-login 0.5.1 earliest
WTF_CSRF_SSL_STRICT=False
)