You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Normally an "invalid-input-response" error from reCAPTCHA causes the verify function to return {:error, [:invalid_input_response]}. However, when using the feature of the MockClient where the response "invalid_response" intentionally causes an error, the return is instead {:error, [:"invalid-input-response"]}. If you have different handling for different reCAPTCHA errors, the consequence is that you have to match on the "fake error" separately from the real one.
The text was updated successfully, but these errors were encountered:
Normally an "invalid-input-response" error from reCAPTCHA causes the verify function to return
{:error, [:invalid_input_response]}
. However, when using the feature of theMockClient
where the response"invalid_response"
intentionally causes an error, the return is instead{:error, [:"invalid-input-response"]}
. If you have different handling for different reCAPTCHA errors, the consequence is that you have to match on the "fake error" separately from the real one.The text was updated successfully, but these errors were encountered: