[deleted] I don't think this would simplify the extension. Using an external service is what makes it simple.

Also it would no longer be the recaptcha extension if it doesn't integrate recaptcha 😇

This could be made as a new extension though. It's good to have options.

    • [deleted]

    clarkwinkelmann This could be made as a new extension though. It's good to have options.

    Should have worded that better - that's what I actually meant but typed something else ! I may even develop this myself as it's one less call to an external source.

    Warning: file_get_contents(https://www.google.com/recaptcha/api/siteverify): failed to open stream: Connection timed out in /www/wwwroot/support.cards.farm/vendor/google/recaptcha/src/ReCaptcha/RequestMethod/Post.php on line 72

    Fatal error: Uncaught Zend\HttpHandlerRunner\Exception\EmitterException: Output has been emitted previously; cannot emit response in /www/wwwroot/support.cards.farm/vendor/zendframework/zend-httphandlerrunner/src/Exception/EmitterException.php:23 Stack trace: #0 /www/wwwroot/support.cards.farm/vendor/zendframework/zend-httphandlerrunner/src/Emitter/SapiEmitterTrait.php(39): Zend\HttpHandlerRunner\Exception\EmitterException::forOutputSent() #1 /www/wwwroot/support.cards.farm/vendor/zendframework/zend-httphandlerrunner/src/Emitter/SapiEmitter.php(26): Zend\HttpHandlerRunner\Emitter\SapiEmitter->assertNoPreviousOutput() #2 /www/wwwroot/support.cards.farm/vendor/zendframework/zend-httphandlerrunner/src/RequestHandlerRunner.php(97): Zend\HttpHandlerRunner\Emitter\SapiEmitter->emit(Object(Flarum\Api\JsonApiResponse)) #3 /www/wwwroot/support.cards.farm/vendor/flarum/core/src/Http/Server.php(46): Zend\HttpHandlerRunner\RequestHandlerRunner->run() #4 /www/wwwroot/support.cards.farm/public/index.php(22): Flarum\Http\Server->listen( in /www/wwwroot/support.cards.farm/vendor/zendframework/zend-httphandlerrunner/src/Exception/EmitterException.php on line 23

      12 days later
      20 days later

      after using this I'm always getting an error that Recaptcha validation is failed when I successfully filling Recaptcha.

        rajdeep Is there an url at which we can reproduce the issue ? Maybe show a video ?

        • [deleted]

        Romellie Why does it need to be in Login Modal ? If the account isn't valid, it can't be used anyway ?

          I believe the captcha is only active on the sign up form.

          It's not written (we could state it clearly in the README though) but the screenshots only show the Sign Up form so I guess this is the expected behavior.