diff options
author | rubenwardy <rw@rubenwardy.com> | 2018-05-17 20:36:46 +0100 |
---|---|---|
committer | rubenwardy <rw@rubenwardy.com> | 2018-05-17 20:36:46 +0100 |
commit | 3004dbeb4e2977e13de3e82574a1a4c56cad6246 (patch) | |
tree | 098a743d55b785ce5f9e181101954677ce0fc31b /app/views/admin.py | |
parent | 69425df6c3177666c5ee2811470696c6be1535e5 (diff) | |
download | cheatdb-3004dbeb4e2977e13de3e82574a1a4c56cad6246.tar.xz |
Add dropdown menu for user stuff
Diffstat (limited to 'app/views/admin.py')
-rw-r--r-- | app/views/admin.py | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/app/views/admin.py b/app/views/admin.py index 8a74f85..d0dcf73 100644 --- a/app/views/admin.py +++ b/app/views/admin.py @@ -26,8 +26,6 @@ from flask_wtf import FlaskForm from wtforms import * from app.utils import loginUser, rank_required -@menu.register_menu(app, ".admin", "Admin", order=30, - visible_when=lambda: current_user.rank.atLeast(UserRank.ADMIN)) @app.route("/admin/", methods=["GET", "POST"]) @rank_required(UserRank.ADMIN) def admin_page(): |