Ember Simple Auth: Session lost on refresh
问题 I'm using Ember Simple Auth Devise v 0.6.4 in an Ember-cli app. I can log in fine but when I refresh the page the session is lost. (Tested in Firefox and Chrome.) Right after logging in, inspecting the localStorage shows the session and after refreshing localStorage is empty. Here's what's in the local storage when I sign in: 回答1: The problem is that you have neither user_token nor user_email in the session which are required for the session to be authenticated. So as soon as you reload the