forked from MarseyWorld/MarseyWorld
fix
parent
b2dc965846
commit
f31256e10c
|
@ -28,7 +28,7 @@ def get_ID():
|
|||
def get_logged_in_user():
|
||||
if hasattr(g, 'v') and g.v: return g.v
|
||||
|
||||
if hasattr(g, 'nonce'):
|
||||
if not hasattr(g, 'nonce'):
|
||||
g.nonce = secrets.token_urlsafe(31)
|
||||
|
||||
g.desires_auth = True
|
||||
|
|
Loading…
Reference in New Issue