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

Adding Option to Reset CAPTCHA via Code #74

Open
Paramesh98 opened this issue Mar 13, 2024 · 0 comments
Open

Adding Option to Reset CAPTCHA via Code #74

Paramesh98 opened this issue Mar 13, 2024 · 0 comments

Comments

@Paramesh98
Copy link

Issue description
There should be an option to reset the mCaptcha from the codebase.

Problem
Within our project, we have integrated mCaptcha as a security measure before submitting forms. However, upon form submission, while all input values reset successfully using the useState hook, the mCaptcha checkbox remains checked. This issue arises because the mCaptcha checkbox resides within an iframe, and due to security restrictions, we cannot directly manipulate its state from our codebase, especially considering it has a different origin.

Version:
next - "13.4.0",
react - "18.2.0",
react-dom - "18.2.0",
@mcaptcha/react-glue - "0.1.0-rc3"

Expected Behaviour:
The mCaptcha should be resettable from the codebase.

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

No branches or pull requests

1 participant