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

Use of Modal for New Thread prevents Recaptcha from working #192

Open
fshequin opened this issue Feb 17, 2018 · 1 comment
Open

Use of Modal for New Thread prevents Recaptcha from working #192

fshequin opened this issue Feb 17, 2018 · 1 comment
Labels

Comments

@fshequin
Copy link

fshequin commented Feb 17, 2018

I have found that because of the way you are now using modals from the vue-js-modal package, the modals are not being rendered until requested by clicking a link.....hence the Google Recaptacha script has nothing to act on (because it's not rendered, no div present with the correct class), and because of this the google recaptcha widget never renders, preventing the user from interacting with the widget and getting a "passes" result...for me even in test mode.

Quick Workaround:

Comment out the recaptcha part of the validation in store() function of ThreadsController.php. Then you can post threads. But that simply defeats that part of validation, not an ultimate working solution.

Note:

I'm not knowledgable enough to figure out how to solve this and offer a PR or I would. However, possibly shifting to an explicit render of the recaptcha widget in some form, assuming triggered by the launch of the modal could be a way to solve this? Not sure....anyone else? have ideas?

@fshequin fshequin changed the title Use of Modal prevents Recaptcha from working Use of Modal for New Thread prevents Recaptcha from working Feb 17, 2018
@JeffreyWay JeffreyWay added the bug label Feb 19, 2018
@trogne
Copy link

trogne commented Aug 18, 2018

Anyone have the solution for this issue ? It's as if the google recaptcha javascript is not loaded on the modal.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants