From 5d5054fc033e7b62c5e9daa9b043c2b5c3a10b15 Mon Sep 17 00:00:00 2001 From: Rachael Booth Date: Fri, 28 Jul 2023 10:11:02 +0100 Subject: [PATCH] Update confirmation link timeout to 24 hours (#1792) --- 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 63389432d..4759c94bd 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.hours + config.confirm_within = 24.hours # If true, requires any email changes to be confirmed (exactly the same way as # initial account confirmation) to be applied. Requires additional unconfirmed_email