devise-security: :secure_validatable doesn't set @minimum_password_length
devise :validatable does this
def set_minimum_password_length
if devise_mapping.validatable?
@minimum_password_length = resource_class.password_length.min
end
end
About this issue
- Original URL
- State: open
- Created 3 years ago
- Comments: 20 (10 by maintainers)
this should copy all the content errors.messages.password_complexity to devise.password_complexity