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:
parent
190a666065
commit
4f799aa599
1 changed files with 1 additions and 1 deletions
|
@ -17,7 +17,7 @@ def index():
|
||||||
elif current_user.has_role("assistant"):
|
elif current_user.has_role("assistant"):
|
||||||
return redirect(url_for("index") + "assistant")
|
return redirect(url_for("index") + "assistant")
|
||||||
else:
|
else:
|
||||||
return render_template("index.html")
|
return redirect(url_for("security.login"))
|
||||||
|
|
||||||
|
|
||||||
@app.route("/set_semester")
|
@app.route("/set_semester")
|
||||||
|
|
Loading…
Reference in a new issue