From bb7617332e91478a1a0d814191621ff8d19696d4 Mon Sep 17 00:00:00 2001 From: Roman Kelesidis Date: Tue, 25 Mar 2025 15:00:35 +0300 Subject: [PATCH] Updated --- library/includes/ucp/register.php | 2 +- library/language/source/main.php | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) 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';