Would it be possible to have Devise timeout for say 10 minutes if you enter a password wrong 10 times? With timeout I mean it will not be possible to enter a new password for period X and getting a message stating you have to wait.
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
:lockablestrategy to your modelconfig.unlock_strategy = :timeconfig.lock_strategy = :failed_attemptsconfig.maximum_attempts = 10config.unlock_in = 10.minutestoinitializers/devise.rb