mirror of
https://github.com/StefBuwalda/WebTech.git
synced 2025-10-30 19:29:58 +00:00
Fixed is_admin privileges
This commit is contained in:
@@ -16,6 +16,6 @@ def index():
|
||||
|
||||
|
||||
@dash_blueprint.route("/admin", methods=["GET", "POST"])
|
||||
# @admin_required
|
||||
@admin_required
|
||||
def admin():
|
||||
return render_template("admin.html")
|
||||
|
||||
Reference in New Issue
Block a user