diff --git a/WebHost/__init__.py b/WebHost/__init__.py index bdfd034a1d..c1ee0e7481 100644 --- a/WebHost/__init__.py +++ b/WebHost/__init__.py @@ -37,7 +37,7 @@ app.config["PONY"] = { multiworlds = {} -@app.before_first_request +@app.before_request def register_session(): session.permanent = True # technically 31 days after the last visit if not session.get("_id", None):