public function checkPasswordNotUsed($attribute, $params, $validator)
    {
        $class = $this->passwordHistoryClass;
        $result = $class::isUsed($this->_password, $this);
        if ($result != false) {
            $this->trigger(static::$eventPasswordUsed);
            $this->addError($attribute, $this->passwordUsedMessage);
        }
    }