Fix change username
This commit is contained in:
parent
1a1115321d
commit
8c888f424b
|
@ -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 New Issue