Skip to content

Conversation

@ewalid
Copy link
Owner

@ewalid ewalid commented Jan 3, 2026

Summary

  • Add invisible Google reCAPTCHA v2 to the translation form to prevent bot abuse
  • Add backend endpoint to verify reCAPTCHA tokens
  • Create reusable Recaptcha component with ref-based API for reset/getValue/execute

Test plan

  • Verify reCAPTCHA loads on the translation form
  • Test translation submission triggers captcha verification
  • Confirm bot requests are blocked without valid captcha token
  • Test reCAPTCHA resets properly after form submission

🤖 Generated with Claude Code

ewalid and others added 2 commits January 3, 2026 02:03
The react-google-recaptcha library doesn't support a disabled prop.
Removed it from both the component definition and TranslateForm usage.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@ewalid ewalid merged commit fe7508e into master Jan 3, 2026
2 checks passed
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.

2 participants