Devise logout after 1 day or 30 minutes inactive
The gem Devise is great for authentication for Rails applications.
https://github.com/heartcombo/devise
For some sensitive application, you want to logout the user aggressively.
For example: a banking app. You want users to re-login if inactive for m...
blog.brennetot.com1 min read