validate($content['value']['password'])) { $report = new common_configuration_Report( common_configuration_Report::VALID, 'Password is strong enough', $this ); } else { $report = new common_configuration_Report( common_configuration_Report::INVALID, implode("
", PasswordConstraintsService::singleton()->getErrors()), $this ); } return $report; } }