Commit c97f212e

mo khan <mo@mokhan.ca>
2013-07-07 00:17:37
extend devise timeout cookie to 7 days
1 parent aabd667
Changed files (1)
config
initializers
config/initializers/devise.rb
@@ -89,7 +89,7 @@ Devise.setup do |config|
   # ==> Configuration for :timeoutable
   # The time you want to timeout the user session without activity. After this
   # time the user will be asked for credentials again. Default is 30 minutes.
-  # config.timeout_in = 30.minutes
+  config.timeout_in = 7.days
 
   # ==> Configuration for :lockable
   # Defines which strategy will be used to lock an account.