diff options
| author | rubenwardy <rw@rubenwardy.com> | 2018-05-13 16:56:18 +0100 |
|---|---|---|
| committer | rubenwardy <rw@rubenwardy.com> | 2018-05-13 16:56:18 +0100 |
| commit | f3c433de06e19ae9a6e1706b4746d46e6a33d70c (patch) | |
| tree | a44f252f38f91105a61ffb322a4ff7f2000c8213 /app/templates/admin | |
| parent | 167a9f14cdce9c01a0097e86a46e45438ed88628 (diff) | |
| download | cheatdb-f3c433de06e19ae9a6e1706b4746d46e6a33d70c.tar.xz | |
Restrict user list page to moderators only
Diffstat (limited to 'app/templates/admin')
| -rw-r--r-- | app/templates/admin/list.html | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/app/templates/admin/list.html b/app/templates/admin/list.html index af845a9..1c0301e 100644 --- a/app/templates/admin/list.html +++ b/app/templates/admin/list.html @@ -6,6 +6,7 @@ {% block content %} <ul> - <a href="{{ url_for('switch_user_page') }}">Sign in as another user</a> + <li><a href="{{ url_for('user_list_page') }}">User list</a></li> + <li><a href="{{ url_for('switch_user_page') }}">Sign in as another user</a></li> </ul> {% endblock %} |
