We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I have my test environment set up as described in the readme:
config :recaptcha, http_client: Recaptcha.Http.MockClient, secret: "6LeIxAcTAAAAAGG-vFI1TnRWxMZNFuojJ4WifJWe"
but I am getting an :ok tuple back from Recaptcha.verify("invalid_response") instead of an :error tuple:
:ok
Recaptcha.verify("invalid_response")
:error
$ MIX_ENV=test iex -S mix Erlang/OTP 22 [erts-10.7.2.3] [source] [64-bit] [smp:12:12] [ds:12:12:10] [async-threads:1] [hipe] Interactive Elixir (1.10.4) - press Ctrl+C to exit (type h() ENTER for help) iex(1)> Recaptcha.verify("invalid_response") {:ok, %Recaptcha.Response{ challenge_ts: "2020-10-07T19:01:22Z", hostname: "testkey.google.com" }}
The text was updated successfully, but these errors were encountered:
Same problem here. Any solution?
Sorry, something went wrong.
No branches or pull requests
I have my test environment set up as described in the readme:
but I am getting an
:ok
tuple back fromRecaptcha.verify("invalid_response")
instead of an:error
tuple:The text was updated successfully, but these errors were encountered: