Fixed is_admin privileges

This commit is contained in:
2025-04-15 11:16:15 +02:00
parent a9ecdcaa7d
commit 212505e79c
4 changed files with 19 additions and 8 deletions

View File

@@ -16,6 +16,6 @@ def index():
@dash_blueprint.route("/admin", methods=["GET", "POST"])
# @admin_required
@admin_required
def admin():
return render_template("admin.html")