protected function registerValidator()
    {
        Validator::extend(config('bone.captcha.validator'), function ($attribute, $value, $parameters, $validator) {
            return $this->app[Captcha::class]->validate($value);
        }, trans('bone::captcha.incorrect_code'));
    }