diff --git a/doc/howto.md b/doc/howto.md index 29734a0..213aa75 100644 --- a/doc/howto.md +++ b/doc/howto.md @@ -4,7 +4,7 @@ You will need to get your PRIVATE and PUBLIC API keys from recaptcha.net. Once you have them, create an instance or ReCaptcha like this: - captcha = recaptcha.new{PRIVATE, PUBLIC} + captcha = recaptcha.new{PUBLIC, PRIVATE} ## Generating the Widget diff --git a/doc/index.html b/doc/index.html index cd5a16e..44d13ce 100644 --- a/doc/index.html +++ b/doc/index.html @@ -93,7 +93,7 @@

Creating the catpcha object

You will need to get your PRIVATE and PUBLIC API keys from recaptcha.net. Once you have them, create an instance or ReCaptcha like this:

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

Generating the Widget

diff --git a/tests/recaptcha.cgi b/tests/recaptcha.cgi index 7136685..24f2d39 100755 --- a/tests/recaptcha.cgi +++ b/tests/recaptcha.cgi @@ -5,7 +5,7 @@ PRIVATE="" PUBLIC="" 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")