Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion doc/howto.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
You will need to get your PRIVATE and PUBLIC API keys from <a href="https://admin.recaptcha.net/recaptcha/createsite/">recaptcha.net</a>.
Once you have them, create an instance or ReCaptcha like this:

captcha = recaptcha.new{PRIVATE, PUBLIC}
captcha = recaptcha.new{PUBLIC, PRIVATE}

## Generating the Widget

Expand Down
2 changes: 1 addition & 1 deletion doc/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ <h2>Creating the catpcha object</h2>
<p>You will need to get your PRIVATE and PUBLIC API keys from <a href="https://admin.recaptcha.net/recaptcha/createsite/">recaptcha.net</a>.
Once you have them, create an instance or ReCaptcha like this:</p>

<pre><code>captcha = recaptcha.new{PRIVATE, PUBLIC}
<pre><code>captcha = recaptcha.new{PUBLIC, PRIVATE}
</code></pre>

<h2>Generating the Widget</h2>
Expand Down
2 changes: 1 addition & 1 deletion tests/recaptcha.cgi
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ PRIVATE="<your private key here>"
PUBLIC="<your public key here>"
OWN_URL="/cgi-bin/recaptcha.cgi" -- you might need to change this

captcha = recaptcha.new{PRIVATE, PUBLIC}
captcha = recaptcha.new{PUBLIC, PRIVATE}

return function(wsapi_env)
require("wsapi.request")
Expand Down