Skip to content

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

@fshequin

Description

@fshequin

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions