public function rules()
 {
     return array_merge(parent::rules(), [['confirmation_hash', 'required'], ['confirmation_hash', 'validateConfirmationHash']]);
 }
 public function rules()
 {
     return array_merge(parent::rules(), [['reset_password_hash', 'required'], ['reset_password_hash', 'validateResetPasswordHash'], ['newPassword', 'required'], ['newPassword', 'string', 'min' => 3, 'max' => 255], ['repeatPassword', 'required', 'message' => \Yii::t('guest', 'Repeat password')], ['repeatPassword', 'compare', 'compareAttribute' => 'newPassword', 'message' => \Yii::t('guest', 'Filled passwords is not equal')]]);
 }