fix: Make cookie samesite only

pull/186/head
Raphaël Vinot 2021-03-30 01:10:18 +02:00
parent a2d6ff7b49
commit 094b69f9b9
1 changed files with 1 additions and 0 deletions

View File

@ -42,6 +42,7 @@ with secret_file_path.open('rb') as f:
Bootstrap(app)
app.config['BOOTSTRAP_SERVE_LOCAL'] = True
app.config['SESSION_COOKIE_NAME'] = 'lookyloo'
app.config['SESSION_COOKIE_SAMESITE'] = 'Strict'
app.debug = False
# Auth stuff