diff --git a/library/includes/ucp/register.php b/library/includes/ucp/register.php index 0170602aa..3df66c525 100644 --- a/library/includes/ucp/register.php +++ b/library/includes/ucp/register.php @@ -599,7 +599,7 @@ if ($submit && !$errors) { try { if ($analyzer->isSpammerDetected($response)) { - bb_die(''); + bb_die($lang['STOP_FORUM_SPAM_REGISTRATION_NOTE']); $spamUserDetected = true; } } catch (\Resolventa\StopForumSpamApi\Exception\StopForumSpamApiException $e) { diff --git a/library/language/source/main.php b/library/language/source/main.php index 65fd05fd1..d9e24fb58 100644 --- a/library/language/source/main.php +++ b/library/language/source/main.php @@ -637,6 +637,7 @@ $lang['EMAIL_TOO_LONG'] = 'Your email is too long.'; $lang['SIGNATURE_TOO_LONG'] = 'Your signature is too long.'; $lang['SIGNATURE_ERROR_HTML'] = 'The signature can contain only BBCode'; $lang['FIELDS_EMPTY'] = 'You must fill in the required fields.'; +$lang['STOP_FORUM_SPAM_REGISTRATION_NOTE'] = 'You were detected in the StopForumSpam database. Your account will be activated manually by the administrator after review.'; $lang['WELCOME_SUBJECT'] = 'Welcome to %s Forums'; // Welcome to my.com forums $lang['NEW_ACCOUNT_SUBJECT'] = 'New user account';