Working on deprecations

This commit is contained in:
Matthew Dillon 2015-07-15 15:49:44 -08:00
parent e91a283680
commit 7696b7008f
12 changed files with 29 additions and 18 deletions

View file

@ -7,7 +7,7 @@ var CustomSession = Session.extend({
let token = this.get('secure.token');
if (!Ember.isEmpty(token)) {
let t = parseBase64(token);
return this.container.lookup('store:main').find('user', t['sub']);
return this.container.lookup('service:store').find('user', t['sub']);
}
return null;
}.property('secure.token'),