mirror of
https://github.com/codeninjasllc/discourse.git
synced 2025-03-20 20:11:19 -04:00
Fix change username
This commit is contained in:
parent
1a1115321d
commit
8c888f424b
1 changed files with 1 additions and 0 deletions
|
@ -27,6 +27,7 @@ Discourse.PreferencesUsernameRoute = Discourse.RestrictedUserRoute.extend({
|
|||
},
|
||||
|
||||
setupController: function(controller, user) {
|
||||
controller.set('model', user);
|
||||
controller.set('newUsername', user.get('username'));
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue