1
0
mirror of https://github.com/janeczku/calibre-web synced 2024-10-18 08:35:54 +00:00

Fix #3153 (In Firefox, Github OAuth login goes into infinite redirect loops)

This commit is contained in:
Ozzie Isaacs 2024-09-21 13:01:48 +02:00
parent 2f39e51e1c
commit eb6563480f

View File

@ -86,7 +86,7 @@ log = logger.create()
app = Flask(__name__)
app.config.update(
SESSION_COOKIE_HTTPONLY=True,
SESSION_COOKIE_SAMESITE='Strict',
SESSION_COOKIE_SAMESITE='Lax',
REMEMBER_COOKIE_SAMESITE='Strict',
WTF_CSRF_SSL_STRICT=False,
SESSION_COOKIE_NAME=os.environ.get('COOKIE_PREFIX', "") + "session",