1
0
forked from orson/bachemap

more sanity checks with auth

This commit is contained in:
Orson 2024-09-12 16:22:59 -06:00
parent 61f970c56d
commit 849b5cbafc

2
app.py
View File

@ -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())