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:
parent
a9bb7d0318
commit
7a44233fb9
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue