Remove options to change username and email.

This commit is contained in:
Patrick Jentsch committed 2019-07-12 17:23:11 +02:00
1 parent 6d1be8f391
commit 735802d88e
3 files changed
+56 -47

No files matched your search

+6 -1
View File
@@ -11,6 +11,11 @@ def index():
return render_template('main/index.html.j2', title='Portal')
@main.route('/about')
def about():
return render_template('main/about.html.j2', title='About')
@main.route('/admin')
@login_required
@admin_required
@@ -21,5 +26,5 @@ def for_admins_only():
users = User.query.order_by(User.username).all()
items = [AdminUserItem(u.username, u.email, u.role_id, u.confirmed) for u in users]
table = AdminUserTable(items)
return render_template('main/admin.html.j2', title='Administration Tools',
return render_template('main/admin.html.j2', title='Administration tools',
table=table.__html__())