Skip to content
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

Add error code to Recaptcha cosntraint #48

Merged
merged 1 commit into from
Mar 15, 2024

Conversation

glaubinix
Copy link
Contributor

We have form logic that removes all other form errors in case none or an invalid recaptcha is submitted. Having an error code on the constraint help detecting such an error instead of having to check the message.

For reference, similar functionality was added to the UserPassword constraint in Symfony.

@garak garak merged commit 637fa2d into Bee-Lab:master Mar 15, 2024
6 of 8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants