mirror of
https://github.com/TitanEmbeds/Titan.git
synced 2024-11-12 17:11:20 +01:00
Titan session cookies set samesite to None
This commit is contained in:
parent
e2f8189ec1
commit
d43d015527
@ -10,9 +10,10 @@ asyncio_extras
|
||||
kombu
|
||||
redis
|
||||
aioredis
|
||||
Flask-Babel
|
||||
Flask-Babel>=1.0.0
|
||||
patreon
|
||||
flask-redis
|
||||
sqlalchemy
|
||||
asyncio_redis
|
||||
raven[flask]
|
||||
Werkzeug>=1.0.0
|
||||
|
@ -38,6 +38,7 @@ app.config['RATELIMIT_STORAGE_URL'] = config["redis-uri"]
|
||||
app.config['PERMANENT_SESSION_LIFETIME'] = timedelta(days=3)
|
||||
app.config['REDIS_URL'] = config["redis-uri"]
|
||||
app.config['MAX_CONTENT_LENGTH'] = 4 * 1024 * 1024 # Limit upload size to 4mb
|
||||
app.config['SESSION_COOKIE_SAMESITE'] = "None"
|
||||
app.secret_key = config['app-secret']
|
||||
|
||||
#sentry.init_app(app)
|
||||
|
Loading…
Reference in New Issue
Block a user