Skip to content

📈 Open source, privacy-first web analytics — a cookie-less Google Analytics alternative with built-in error tracking and performance monitoring. Self-host it or use our cloud. Get started for free!

better CAPTHCA not enabled error message

Blue Mouse8983cb025ece
diff --git a/backend/apps/cloud/src/captcha/captcha.service.ts b/backend/apps/cloud/src/captcha/captcha.service.ts
index b824326ed..a9e200d02 100644
--- a/backend/apps/cloud/src/captcha/captcha.service.ts
+++ b/backend/apps/cloud/src/captcha/captcha.service.ts
@@ -130,7 +130,9 @@ export class CaptchaService {
}
if (!(await this._isCaptchaEnabledForPID(pid))) {
- throw new BadRequestException('CAPTCHA is not enabled for this Project')
+ throw new BadRequestException(
+ 'CAPTCHA not available for this project - please generate a secret key first in the project settings',
+ )
}
}
diff --git a/backend/apps/community/src/captcha/captcha.service.ts b/backend/apps/community/src/captcha/captcha.service.ts
index b824326ed..a9e200d02 100644
--- a/backend/apps/community/src/captcha/captcha.service.ts
+++ b/backend/apps/community/src/captcha/captcha.service.ts
@@ -130,7 +130,9 @@ export class CaptchaService {
}
if (!(await this._isCaptchaEnabledForPID(pid))) {
- throw new BadRequestException('CAPTCHA is not enabled for this Project')
+ throw new BadRequestException(
+ 'CAPTCHA not available for this project - please generate a secret key first in the project settings',
+ )
}
}