fdfd
This commit is contained in:
parent
16078048bd
commit
5bb6f2c292
1 changed files with 2 additions and 3 deletions
|
@ -6,9 +6,8 @@ from .security import *
|
|||
def session_over18():
|
||||
|
||||
now = int(time.time())
|
||||
|
||||
return session.get('over_18', 0) >= now
|
||||
|
||||
try: return session.get('over_18', 0) >= now
|
||||
except: return False
|
||||
|
||||
def make_logged_out_formkey(t):
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue