From 4c3a602e119618b3335d7e0804c46d0df079b55f Mon Sep 17 00:00:00 2001 From: Rob Colbert Date: Wed, 21 Aug 2019 00:44:24 -0400 Subject: [PATCH] compensate for lack of SMTP relay --- config/initializers/devise.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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