From a37af147c19f6735279c6037e6a3252b6008030f Mon Sep 17 00:00:00 2001 From: Rachael Booth Date: Wed, 15 Jan 2025 10:58:37 +0000 Subject: [PATCH] CLDC-3838: Update devise settings to allow email unlock strategy --- 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 df5f61df2..7097521a2 100644 --- a/config/initializers/devise.rb +++ b/config/initializers/devise.rb @@ -205,7 +205,7 @@ Devise.setup do |config| # :time = Re-enables login after a certain amount of time (see :unlock_in below) # :both = Enables both strategies # :none = No unlock strategy. You should handle unlocking by yourself. - config.unlock_strategy = :time + config.unlock_strategy = :both # Number of authentication tries before locking an account if lock_strategy # is failed attempts.