mercredi 19 février 2020

Ember Simple Auth Change Default Store

I'm new to ember and ember-simple-auth. My app uses Pods mode. Currently I'm building a login page and want to use SessionStorageStore to store user information, so that the info stored in session storage will be cleaned after closing the browser. Ember-simple-auth uses local storage by default. How can I change the default store? The method mentioned in the API doc seems not work for me. The info is still stored in the local storage. Any ideas how to change the default store?My Project Layout




Aucun commentaire:

Enregistrer un commentaire