Update secret key in Flask app and modify provisioning script to set image flag correctly

This commit is contained in:
2026-04-19 13:04:46 +02:00
parent 280d25dda9
commit 2f6cb382f7
2 changed files with 14 additions and 2 deletions
+1 -1
View File
@@ -23,7 +23,7 @@ from bson.objectid import ObjectId
import user as user_store
app = Flask(__name__)
app.secret_key = "ASDfhbsdfseiufhgildsrfrjg874368546987s6e8468f4s"
app.secret_key = "ASDfhbsdfseiufhgildsrfrjg874368546987s6e8468f4!?FAUS/&s"
app.config["SESSION_COOKIE_HTTPONLY"] = True
app.config["SESSION_COOKIE_SAMESITE"] = "Strict"
app.config["SESSION_COOKIE_SECURE"] = os.environ.get("SESSION_COOKIE_SECURE", "0") == "1"