From 01e6b29c9663095b8a6bd1b1c05091fd59ff46a5 Mon Sep 17 00:00:00 2001 From: baarkerlounger Date: Tue, 17 May 2022 13:24:19 +0100 Subject: [PATCH] Confirm account within 3 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 9f59dd22a..9e59169e6 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 = 3.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