Need to wait for currentUser promise
Also, add ‘id’ to password change payload
This commit is contained in:
parent
45eca0227c
commit
be1b58a380
2 changed files with 5 additions and 5 deletions
|
@ -16,6 +16,7 @@ export default Ember.Controller.extend({
|
|||
let options = {
|
||||
method: 'POST',
|
||||
data: {
|
||||
id: this.get('session.currentUser.id'),
|
||||
password: this.get('password'),
|
||||
},
|
||||
};
|
||||
|
|
Reference in a new issue