0

I added a "remember me" function to my login component and followed the advice of the authors on setting up the Cookie Store.

What I found, however, is when I set Cookie expiration to null and close the browser window without Logging Out, the session data is gone (Correct Behavior) BUT the session appears 'Authenticated' (Incorrect behavior).

Am I missing some way to automatically logout user?

Vlad
  • 3,866
  • 1
  • 24
  • 20
  • Are you actually using the cookie session store? – marcoow Jan 15 '16 at 12:00
  • Yes. I have extended 'ember-simple-auth/session-stores/cookie' class, giving a custom cookie name, and I can see it showing up correctly in the Ember Inspector under "Container" -> "Session Store" -> "Application" object. – Vlad Jan 18 '16 at 14:52

0 Answers0