diff options
| author | mo khan <mo@mokhan.ca> | 2013-06-16 08:30:32 -0600 |
|---|---|---|
| committer | mo khan <mo@mokhan.ca> | 2013-06-16 08:30:32 -0600 |
| commit | 87b9cbf83a1a29eb4b6b09efa4af5144c82a01de (patch) | |
| tree | 952e87358ba04a83f206fb676499d1ce48a4b84e /config/initializers | |
| parent | d5093dd739db07afdfe4e19d58e0033d6226dd8d (diff) | |
update devise configuration
Diffstat (limited to 'config/initializers')
| -rw-r--r-- | config/initializers/devise.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/config/initializers/devise.rb b/config/initializers/devise.rb index feae3d40..bfbf20e3 100644 --- a/config/initializers/devise.rb +++ b/config/initializers/devise.rb @@ -70,10 +70,10 @@ Devise.setup do |config| # ==> Configuration for :rememberable # The time the user will be remembered without asking for credentials again. - # config.remember_for = 2.weeks + config.remember_for = 4.weeks # If true, extends the user's remember period when remembered via cookie. - # config.extend_remember_period = false + config.extend_remember_period = true # Options to be passed to the created cookie. For instance, you can set # :secure => true in order to force SSL only cookies. @@ -134,7 +134,7 @@ Devise.setup do |config| # ==> Configuration for :token_authenticatable # Defines name of the authentication token params key - # config.token_authentication_key = :auth_token + config.token_authentication_key = :auth_token # ==> Scopes configuration # Turn scoped views on. Before rendering "sessions/new", it will first check for |
