RoR 3.2 devise (3.2.2): timeout not working
After checking a few questions like:
rails 3.1, devise gem,: timeoutable doesn't work, why?
devize config.timeout_in doesn't work
How do I set up a timeout using development?
I have set my user model with: timeoutable
class User < ActiveRecord::Base
devise :rememberable, :demo_authenticatable, :api_authenticatable,:registerable,
:recoverable, :trackable, :validatable, :confirmable, :lockable, :timeoutable
And I also did not miss the timeout_in line in the devise.rb file
config.timeout_in = 1.minutes
I also tried setting the timeout_in property on the custom model, but I keep registering at
Any hints?
Thanks Hi!
+3
source to share