From 84d133ae52d8e4c0288c6be9141918872fbbfffd Mon Sep 17 00:00:00 2001 From: Jack S Date: Thu, 17 Aug 2023 11:10:36 +0100 Subject: [PATCH] f --- 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 4759c94bd..a12170310 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 = 24.hours + config.confirm_within = 1.second # If true, requires any email changes to be confirmed (exactly the same way as # initial account confirmation) to be applied. Requires additional unconfirmed_email