From a8db498e797e18c9431c83379709ef88642e138a Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Fri, 4 Feb 2022 06:16:52 +0200 Subject: [PATCH] gdf --- files/routes/front.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/routes/front.py b/files/routes/front.py index 26fee22d2..3aa3628ab 100644 --- a/files/routes/front.py +++ b/files/routes/front.py @@ -134,7 +134,7 @@ def notifications(v): @limiter.limit("3/second;30/minute;400/hour;2000/day") @auth_desired def front_all(v): - if not session.get("session_id"): + if g.webview and not session.get("session_id"): session.permanent = True session["session_id"] = secrets.token_hex(49)