aboutsummaryrefslogtreecommitdiff
path: root/app/templates
diff options
context:
space:
mode:
authorrubenwardy <rw@rubenwardy.com>2020-07-10 22:59:41 +0100
committerrubenwardy <rw@rubenwardy.com>2020-07-10 22:59:41 +0100
commitc490df7f5009c11ed31785dbf4b64e1c22953dda (patch)
tree52fce2189a530cc2cba92c44c53cb9f0dd867c99 /app/templates
parentb9e1be57e435fd8d69fa58f546b2dc1206e1f80c (diff)
downloadcheatdb-c490df7f5009c11ed31785dbf4b64e1c22953dda.tar.xz
Add ability for moderators to change linked accounts
Diffstat (limited to 'app/templates')
-rw-r--r--app/templates/users/profile.html4
1 files changed, 3 insertions, 1 deletions
diff --git a/app/templates/users/profile.html b/app/templates/users/profile.html
index a75ae02..4af1c1d 100644
--- a/app/templates/users/profile.html
+++ b/app/templates/users/profile.html
@@ -162,8 +162,10 @@
<form action="" method="POST" class="form box-body" role="form">
{{ form.hidden_tag() }}
- {% if user.checkPerm(current_user, "CHANGE_DNAME") %}
+ {% if user.checkPerm(current_user, "CHANGE_USERNAMES") %}
{{ render_field(form.display_name, tabindex=230) }}
+ {{ render_field(form.forums_username, tabindex=230) }}
+ {{ render_field(form.github_username, tabindex=230) }}
{% endif %}
{% if user.checkPerm(current_user, "CHANGE_PROFILE_URLS") %}