1
0
Fork 0
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:
José Valim 2015-11-10 09:37:59 -02:00
commit d22ac4a4fb

View file

@ -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