mirror of
https://github.com/heartcombo/devise.git
synced 2022-11-09 12:18:31 -05:00
Merge pull request #3813 from jlerpscher/set-minimum-password-length-on-failure
set minimum password length on reset failure
This commit is contained in:
commit
d22ac4a4fb
1 changed files with 1 additions and 0 deletions
|
@ -43,6 +43,7 @@ class Devise::PasswordsController < DeviseController
|
|||
end
|
||||
respond_with resource, location: after_resetting_password_path_for(resource)
|
||||
else
|
||||
set_minimum_password_length
|
||||
respond_with resource
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue