You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I do user.reset_persistence_token! it creates a new cookie because of automatic session maintenance. But it forgets to set when to expire the new cookie. My work-around is this:
user.reset_persistence_token!
user_session.save
The text was updated successfully, but these errors were encountered:
Hello, I'm going through old authlogic issues and seeing what to do with them.
This one looks a bit like a usage question and a bit like a feature request.
If this is a feature request, it's still relevant, and you are committed to
implementing it, please open a new issue and we can discuss your implementation
plan.
If this is a usage question, please ask it on stackoverflow. Unfortunatley,
we just don't have enough volunteers to handle usage questions on github. Also,
please check the reference documentation. You might find something there
that's not in the readme.
When I do user.reset_persistence_token! it creates a new cookie because of automatic session maintenance. But it forgets to set when to expire the new cookie. My work-around is this:
user.reset_persistence_token!
user_session.save
The text was updated successfully, but these errors were encountered: