Main Access Updates

This commit is contained in:
Jason
2026-06-11 11:10:18 -05:00
parent 0632aa22e1
commit be1475dd8e
5 changed files with 737 additions and 5 deletions
+1 -1
View File
@@ -42,7 +42,7 @@ app.register_blueprint(canvas_bp)
@app.route('/')
def home():
"""Redirect to login if not authenticated, otherwise show home"""
if 'user_id' not in session:
if 'username' not in session:
return redirect(url_for('auth.login_page'))
# If user hasn't selected a location yet, redirect to selection