forked from MarseyWorld/MarseyWorld
gdf
parent
a9df1e685c
commit
a8db498e79
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in New Issue