diff --git a/advlabdb/routes.py b/advlabdb/routes.py index 80f1b07..43f5447 100644 --- a/advlabdb/routes.py +++ b/advlabdb/routes.py @@ -17,7 +17,7 @@ def index(): elif current_user.has_role("assistant"): return redirect(url_for("index") + "assistant") else: - return render_template("index.html") + return redirect(url_for("security.login")) @app.route("/set_semester")