Authlogic Timeout

/ Published in: Rails
Save to your folder(s)

This will require a user to log back in if they are inactive for more than 10 minutes. In order for this feature to be used you must have a last_request_at datetime column in your table for whatever model you are authenticating with.


Report this snippet


RSS Icon Subscribe to comments

You need to login to post a comment.