Reputation: 1309
I have a rails app using devise and even with the remember me button clicked when i close the browser and reopen it it loses all history of the user ever being logged in.
The session should persist well beyond that. How do i change this?
I am not using timeoutable or anything that auto logs the user out.
Thanks!
Upvotes: 1
Views: 920
Reputation: 2674
Did you look at the 'Rememberable' module in Devise?
http://rubydoc.info/github/plataformatec/devise/master/Devise/Models/Rememberable
Upvotes: 2