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
1 changed files with 1 additions and 0 deletions

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