Add ability for moderators to change linked accounts

This commit is contained in:
rubenwardy
2020-07-10 22:59:41 +01:00
parent b9e1be57e4
commit c490df7f50
4 changed files with 20 additions and 8 deletions

View File

@@ -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") %}