Skip to content

Add logging for recaptcha token #12834

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 24, 2025
Merged

Add logging for recaptcha token #12834

merged 1 commit into from
Jun 24, 2025

Conversation

charlesBochet
Copy link
Member

No description provided.

Copy link
Contributor

@greptile-apps greptile-apps bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PR Summary

Added debug console.log for tracking Google Recaptcha token generation in packages/twenty-front/src/modules/captcha/hooks/useRequestFreshCaptchaToken.ts, which is not suitable for production code.

  • Debug logs should be removed before deployment per rule [d7cd09ea-9ad0-4cac-9f49-d9b4083c370a]
  • Consider using proper error tracking via Sentry for non-user errors per rule [f8f19777-073a-4d6f-852b-146e18a4e967]
  • Implement proper validation to distinguish between user-triggered errors and system errors per rule [9dad15ed-31ab-4876-9f5f-c6c7bc9a46d2]

1 file reviewed, no comments
Edit PR Review Bot Settings | Greptile

@charlesBochet charlesBochet merged commit b8fd10e into main Jun 24, 2025
37 checks passed
@charlesBochet charlesBochet deleted the add-recaptcha-log branch June 24, 2025 14:12
Copy link
Contributor

🚀 Preview Environment Ready!

Your preview environment is available at: http://bore.pub:48070

This environment will automatically shut down when the PR is closed or after 5 hours.

abdulrahmancodes pushed a commit to abdulrahmancodes/twenty that referenced this pull request Jun 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants