From dead2d2024c0cbd85c77e809dec2191d8fee8417 Mon Sep 17 00:00:00 2001 From: Rachael Booth Date: Thu, 20 Jul 2023 10:33:39 +0100 Subject: [PATCH] Update confirmation link timeout to 24 hours --- 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