Unable to use store in ember-simple-auth


#1

I’m using ember-simple-auth for authentication in one of my application. However, after logging in when I refresh the page, the session is lost. The Readme says that I need to use session-store. Hence, I created a file app/session-stores/application.js which has the following content :

import AdaptiveStore from 'ember-simple-auth/session-stores/adaptive';

export default AdaptiveStore.extend();

Even now when I refresh the page, the session is lost. Am I missing something?

P.S. I’m using the pods type structure for my routes.