Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Login not remembered in Firefox #3472
I noticed a repeating issue - login is not remembered after browser restart (Firefox 14.0.1 / Linux x86_64). The problem goes away for some time if all related cookies are manually deleted, but it resurfaces later. I didn't test this in any other browsers though, so I'm not sure if it's specific to Firefox or not.
The user authentication process is handled entirely by the 'devise' gem, so I assume this could be an upstream issue...
Please definitely test with other browsers, too, to confirm.
referenced this issue
Nov 6, 2012
Sad to hear. But actually that's not "worse" because our current session cookies' lifetime on master is a session. Most users just don't run into this issue because they are using Diaspora in a app tab which forced the session lifetime cookie to last forever.
After my patch, the session cookies are still valid for the current session only, but I get another cookie named
But! I had a similar issue some days ago in the office, we were using Devise and had the same problem. Sometimes (sorry for being that imprecise but I really have no clue) Devise ignores the rememberable-setting if no rememberme-value was sent in the form. Adding a hidden field helped:
<%= f.hidden_field :remember_me, :value => 1 %>
Would you mind trying that out on your local installation? I'd not push that to the repo if I'm not sure if that's really a issue.