t2v / play2-auth

Play2.x Authentication and Authorization module
Apache License 2.0
608 stars 142 forks source link

Sample code remember me bug? #162

Open jnandrew opened 8 years ago

jnandrew commented 8 years ago

Hi, I am playing with the sample code, not sure whether this is the intended behaviour.

  1. Login to /rememberme/ with Remember me checked. After login successful, you'll be redirected to /rememberme/messages/main
  2. Quit your browser (Make sure you completely quit browser instead of just closing)
  3. Reopen browser and go to http://localhost:9000/rememberme/messages/main
  4. Quit the browser again
  5. Reopen browser and go to http://localhost:9000/rememberme/messages/main again
  6. User needs to login again

To my understanding, shouldn't it be valid until session timeout has expired(3600) right ?

cwenboshi commented 8 years ago

I found the exact bug...Any solutions?