From 651dfef8d5a76b5f7427869dd1518fcac0e6d2a7 Mon Sep 17 00:00:00 2001 From: baarkerlounger Date: Fri, 27 May 2022 10:25:11 +0100 Subject: [PATCH] Increase confirmation timeout to 5 days --- config/initializers/devise.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/initializers/devise.rb b/config/initializers/devise.rb index 9e59169e6..83c73db72 100644 --- a/config/initializers/devise.rb +++ b/config/initializers/devise.rb @@ -152,7 +152,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 = 3.days + config.confirm_within = 5.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