dgf
This commit is contained in:
parent
60a9213fcb
commit
33b48e6ec1
3 changed files with 6 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue