Fix #4177: Allow all users to change their username.

This commit is contained in:
evazion
2019-09-25 21:16:19 -05:00
parent 3b63f94968
commit c710aa3ffb
5 changed files with 3 additions and 21 deletions

View File

@@ -11,12 +11,7 @@
<fieldset id="basic-settings-section">
<div class="input">
<label>Name</label>
<% if CurrentUser.user.is_gold? %>
<p><%= link_to "Change your name", new_user_name_change_request_path %></p>
<% else %>
<p>You must <%= link_to "upgrade your account", new_user_upgrade_path %> to request a name change</p>
<% end %>
<p><%= link_to "Change your name", new_user_name_change_request_path %></p>
</div>
<div class="input">