public function merge(array $params, &$changes = null) { if (empty($params["password"]) || empty($params["verify"]) || $params["password"] != $params["verify"]) { unset($params["password"]); unset($params["verify"]); //don't set the password if it was left blank or is not verified } parent::merge($params, $changes); }