Main Access Updates
This commit is contained in:
+1
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user