From 7a7f425bc7cfbce44f0f8d36aa7145c4ecdf2c22 Mon Sep 17 00:00:00 2001 From: admin Date: Fri, 20 Sep 2019 02:32:57 +0000 Subject: [PATCH] Revert "compensate for lack of SMTP relay" This reverts commit 4c3a602e119618b3335d7e0804c46d0df079b55f --- 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 270e4abe..cd9bacf6 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 = 7.days + # config.allow_unconfirmed_access_for = 2.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 = 14.days + config.confirm_within = 2.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