This commit is contained in:
Aevann1 2022-02-04 16:58:13 +02:00
parent 60a9213fcb
commit 33b48e6ec1
3 changed files with 6 additions and 1 deletions

View file

@ -133,6 +133,7 @@ def notifications(v):
@limiter.limit("3/second;30/minute;400/hour;2000/day")
@auth_desired
def front_all(v, hole=None):
if hole not in holes: hole = None
if g.webview and not session.get("session_id"):
session.permanent = True
session["session_id"] = secrets.token_hex(49)