1
0
Fork 0
mirror of https://codeberg.org/Mo8it/AdvLabDB.git synced 2024-11-08 21:21:06 +00:00

Fixed index route

This commit is contained in:
Mo 2021-09-11 21:20:36 +02:00
parent 190a666065
commit 4f799aa599

View file

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