private function registerValidatorRules($app)
    {
        $app['validator']->extend('captcha', function($attribute, $value) use ($app) {
            unset($attribute);
            $ip = $app['request']->getClientIp();

            return $app[Contracts\NoCaptcha::class]->verify($value, $ip);
        });
    }