master
Aevann1 2022-02-04 06:16:52 +02:00
parent a9df1e685c
commit a8db498e79
1 changed files with 1 additions and 1 deletions

View File

@ -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)