From 58d07d9cbc5e2719df9aa255bd12ef5007b492d7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ya=C4=9F=C4=B1zhan?= Date: Thu, 7 Oct 2021 22:05:16 +0300 Subject: [PATCH] Making instructions more clear --- src/bb-modules/Spamchecker/Service.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/bb-modules/Spamchecker/Service.php b/src/bb-modules/Spamchecker/Service.php index ffd4f50a3..136ab0776 100644 --- a/src/bb-modules/Spamchecker/Service.php +++ b/src/bb-modules/Spamchecker/Service.php @@ -148,11 +148,11 @@ class Service implements InjectionAwareInterface if (isset($config['captcha_version']) && $config['captcha_version'] == 2) { if (!isset($config['captcha_recaptcha_privatekey']) || $config['captcha_recaptcha_privatekey'] == '') { - throw new \Box_Exception("To use reCAPTCHA you must get an API key from https://www.google.com/recaptcha/admin/create"); + throw new \Box_Exception("To use reCAPTCHA you must get an API key from here"); } if (!isset($params['g-recaptcha-response']) || $params['g-recaptcha-response'] == '') { - throw new \Box_Exception("No response received"); + throw new \Box_Exception("You have to complete the CAPTCHA to continue"); } $postData = array( @@ -215,4 +215,4 @@ class Service implements InjectionAwareInterface return false; } -} \ No newline at end of file +}