1
0
Fork 0
mirror of https://github.com/heartcombo/devise.git synced 2022-11-09 12:18:31 -05:00

set minimum password length after user registration update

This commit is contained in:
ethiraj 2016-10-27 08:33:35 +05:30
parent a9bb7d0318
commit 7a44233fb9

View file

@ -57,6 +57,7 @@ class Devise::RegistrationsController < DeviseController
respond_with resource, location: after_update_path_for(resource)
else
clean_up_passwords resource
set_minimum_password_length
respond_with resource
end
end