Add warning to uncheck verify origin settings in recaptcha (#68)

* Add warning to uncheck verify origin 

If verify origin is checked it leads to JS error code 4

* Add screenshot for verify domain settings

* Update file name for verify origin settings

* Add example image for verify origin

* Remove redundant space
This commit is contained in:
Rachit Mishra 2019-03-20 19:29:44 +05:30 committed by Flávio Caetano
parent c9afbc22c1
commit 0e47c7264f
2 changed files with 6 additions and 1 deletions

View File

@ -20,6 +20,11 @@ invisibility is not possible.
Beware that this library only works for Invisible ReCaptcha keys! Make sure to check the Invisible reCAPTCHA option
when creating your [API Key](https://www.google.com/recaptcha/admin).
When using http://localhost domain make sure the `Verify the origin of reCAPTCHA solutions` tickbox is unchecked in Recaptcha Admin Console.
![Example Verify Origin](https://raw.githubusercontent.com/rachitmishra/ReCaptcha/patch-1/example-verify-domain.png)
## Installation
ReCaptcha is available through [CocoaPods](http://cocoapods.org) and [Carthage](https://github.com/Carthage/Carthage).
@ -42,7 +47,7 @@ extension for the ReCaptcha framework.
## Usage
Simply add `ReCaptchaKey` and `ReCaptchaDomain` (with a protocol) to your Info.plist and run:
Simply add `ReCaptchaKey` and `ReCaptchaDomain` (with a protocol ex. http:// or https://) to your Info.plist and run:
``` swift
let recaptcha = try? ReCaptcha()

BIN
example-verify-domain.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 40 KiB