Allow users to change their display name

Fixes #269
This commit is contained in:
rubenwardy
2021-02-25 23:25:33 +00:00
parent 96b5b4ea5b
commit dea5a52c86
11 changed files with 53 additions and 22 deletions

View File

@@ -48,6 +48,10 @@
<form action="" method="POST" class="form" role="form">
{{ form.hidden_tag() }}
{% if user.checkPerm(current_user, "CHANGE_DISPLAY_NAME") %}
{{ render_field(form.display_name, tabindex=230, hint=_("Pretending to be another user is grounds for a permanent ban")) }}
{% endif %}
{% if user.checkPerm(current_user, "CHANGE_PROFILE_URLS") %}
{{ render_field(form.website_url, tabindex=232) }}
{{ render_field(form.donate_url, tabindex=233) }}