From 849b5cbafc175cc12d012864dbeb26d6b6e7c6a2 Mon Sep 17 00:00:00 2001 From: "O. D." Date: Thu, 12 Sep 2024 16:22:59 -0600 Subject: [PATCH] more sanity checks with auth --- app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app.py b/app.py index c72a78f..23b6dbc 100644 --- a/app.py +++ b/app.py @@ -210,7 +210,7 @@ def create_app(config=Config): @login_required def dashboard(): if request.method == 'GET': - if not current_user.is_authenticated: + if current_user.is_authenticated == False: return redirect(url_for('thelogin')) else: invite_code = str(uuid4())