fds
This commit is contained in:
parent
11a6ce1a90
commit
668af20cfa
1 changed files with 2 additions and 2 deletions
|
@ -29,7 +29,7 @@ month = datetime.now().strftime('%B')
|
|||
def merge(v, id1, id2):
|
||||
if v.id != AEVANN_ID: abort(403)
|
||||
|
||||
if time.time() - session.get('verified', 0) > 5:
|
||||
if time.time() - session.get('verified', 0) > 3:
|
||||
session.pop("session_id", None)
|
||||
session.pop("lo_user", None)
|
||||
path = request.path
|
||||
|
@ -89,7 +89,7 @@ def merge(v, id1, id2):
|
|||
def merge_all(v, id):
|
||||
if v.id != AEVANN_ID: abort(403)
|
||||
|
||||
if time.time() - session.get('verified', 0) > 5:
|
||||
if time.time() - session.get('verified', 0) > 3:
|
||||
session.pop("session_id", None)
|
||||
session.pop("lo_user", None)
|
||||
path = request.path
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue