public function validateUserPassword($attributes, $params)
    {
        $this->_user = Users::model()->findByPk(Yii::app()->user->id);

        if ($this->_user == NULL)
        {
            $this->addError('password', Yii::t('HybridAuth.main', 'Unable to identify user.'));
            return false;
        }

        $hash = Users::model()->encryptHash($this->_user->email, $this->password, Yii::app()->params['encryptionKey']);

        $result = password_verify($hash, $this->_user->password);

        if ($result == false)
        {
            $this->addError('password', Yii::t('HybridAuth.main', 'The password you entered is invalid.'));
            return false;
        }

        return true;
    }