Need to wait for currentUser promise

Also, add ‘id’ to password change payload
This commit is contained in:
Matthew Dillon 2015-10-13 10:32:25 -07:00
parent 45eca0227c
commit be1b58a380
2 changed files with 5 additions and 5 deletions

View file

@ -16,6 +16,7 @@ export default Ember.Controller.extend({
let options = {
method: 'POST',
data: {
id: this.get('session.currentUser.id'),
password: this.get('password'),
},
};