fds
parent
1c10677236
commit
231546f4a2
|
@ -29,7 +29,7 @@ month = datetime.now().strftime('%B')
|
||||||
def merge(v, id1, id2):
|
def merge(v, id1, id2):
|
||||||
if v.id != AEVANN_ID: abort(403)
|
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("session_id", None)
|
||||||
session.pop("lo_user", None)
|
session.pop("lo_user", None)
|
||||||
path = request.path
|
path = request.path
|
||||||
|
@ -89,7 +89,7 @@ def merge(v, id1, id2):
|
||||||
def merge_all(v, id):
|
def merge_all(v, id):
|
||||||
if v.id != AEVANN_ID: abort(403)
|
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("session_id", None)
|
||||||
session.pop("lo_user", None)
|
session.pop("lo_user", None)
|
||||||
path = request.path
|
path = request.path
|
||||||
|
|
Loading…
Reference in New Issue