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

Easy implementation of Google reCAPTCHA #3

Open
CHadetz opened this issue Jul 17, 2019 · 1 comment
Open

Easy implementation of Google reCAPTCHA #3

CHadetz opened this issue Jul 17, 2019 · 1 comment

Comments

@CHadetz
Copy link

CHadetz commented Jul 17, 2019

Maybe address this when/if refactoring?

@k1sul1
Copy link
Member

k1sul1 commented Oct 20, 2020

Not that I've tested it, but it should be possible now using ReactDOM.createPortal. Pass an useRef() reference to the component properties to override the built-in ref, and use that ref to inject in another component that will do the recaptcha stuff. Backend implementation should be similar as in older versions of WPLF.

edit; #7

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

2 participants