cleaning some tests

This commit is contained in:
Matthew Dillon 2015-10-29 20:52:16 -07:00
parent 8684d0d148
commit d80e95c1eb
5 changed files with 5 additions and 5 deletions

View file

@ -23,7 +23,7 @@ export default BaseAuthenticator.extend({
return RSVP.resolve(data);
},
invalidate: function(data) {
invalidate: function(/* data */) {
return RSVP.resolve();
},
});

View file

@ -12,7 +12,7 @@ export default Ember.Route.extend(UnauthenticatedRouteMixin, {
this.get('session').authenticate('authenticator:jwt-resolved', token).then(() => {
this.get('currentUser.account').then((account) => {
this.transitionTo('protected.users.changepassword', account.get('id'));
})
});
});
},