Merge pull request #3050 from evazion/fix-user-name-changes

Fix username changes forcing new name to lowercase.
This commit is contained in:
Albert Yi
2017-05-15 16:13:16 -07:00
committed by GitHub
3 changed files with 13 additions and 4 deletions

View File

@@ -37,10 +37,6 @@ class UserNameChangeRequest < ActiveRecord::Base
status == "pending"
end
def desired_name=(name)
super(User.normalize_name(name))
end
def feedback
UserFeedback.for_user(user_id).order("id desc")
end