From f31256e10c8bc3ec4d03b3dcaaa351aa37b815a1 Mon Sep 17 00:00:00 2001 From: Aevann Date: Wed, 15 Mar 2023 07:33:55 +0200 Subject: [PATCH] fix --- files/routes/wrappers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/routes/wrappers.py b/files/routes/wrappers.py index 6c27e0128..095c9151e 100644 --- a/files/routes/wrappers.py +++ b/files/routes/wrappers.py @@ -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