diff --git a/config/initializers/devise.rb b/config/initializers/devise.rb index cd9bacf6..270e4abe 100644 --- a/config/initializers/devise.rb +++ b/config/initializers/devise.rb @@ -190,7 +190,7 @@ Devise.setup do |config| # able to access the website for two days without confirming their account, # access will be blocked just in the third day. Default is 0.days, meaning # the user cannot access the website without confirming their account. - # config.allow_unconfirmed_access_for = 2.days + config.allow_unconfirmed_access_for = 7.days # A period that the user is allowed to confirm their account before their # token becomes invalid. For example, if set to 3.days, the user can confirm @@ -198,7 +198,7 @@ Devise.setup do |config| # their account can't be confirmed with the token any more. # Default is nil, meaning there is no restriction on how long a user can take # before confirming their account. - config.confirm_within = 2.days + config.confirm_within = 14.days # If true, requires any email changes to be confirmed (exactly the same way as # initial account confirmation) to be applied. Requires additional unconfirmed_email