adjust devise lock

This commit is contained in:
Pete Matsyburka committed 2026-09-28 09:26:40 +03:00
1 parent 800101f747
commit a8433e9bd3
2 files changed
+3 -3

No files matched your search

+2 -2
View File
@@ -235,10 +235,10 @@ Devise.setup do |config|
# Number of authentication tries before locking an account if lock_strategy
# is failed attempts.
# config.maximum_attempts = 20
config.maximum_attempts = 15
# Time interval to unlock the account if :time is enabled as unlock_strategy.
# config.unlock_in = 1.hour
config.unlock_in = 23.hours
# Warn on the last attempt before the account is locked.
# config.last_attempt_warning = true