mirror of
https://github.com/janeczku/calibre-web
synced 2024-12-18 14:10:30 +00:00
Fix #3153 (In Firefox, Github OAuth login goes into infinite redirect loops)
This commit is contained in:
parent
2f39e51e1c
commit
eb6563480f
@ -86,7 +86,7 @@ log = logger.create()
|
|||||||
app = Flask(__name__)
|
app = Flask(__name__)
|
||||||
app.config.update(
|
app.config.update(
|
||||||
SESSION_COOKIE_HTTPONLY=True,
|
SESSION_COOKIE_HTTPONLY=True,
|
||||||
SESSION_COOKIE_SAMESITE='Strict',
|
SESSION_COOKIE_SAMESITE='Lax',
|
||||||
REMEMBER_COOKIE_SAMESITE='Strict',
|
REMEMBER_COOKIE_SAMESITE='Strict',
|
||||||
WTF_CSRF_SSL_STRICT=False,
|
WTF_CSRF_SSL_STRICT=False,
|
||||||
SESSION_COOKIE_NAME=os.environ.get('COOKIE_PREFIX', "") + "session",
|
SESSION_COOKIE_NAME=os.environ.get('COOKIE_PREFIX', "") + "session",
|
||||||
|
Loading…
Reference in New Issue
Block a user