This repository is private.
All pages are served over SSL and all pushing and pulling is done over SSH.
No one may fork, clone, or view it unless they are added as a member.
Every repository with this icon (
) is private.
Every repository with this icon (
This repository is public.
Anyone may fork, clone, or view it.
Every repository with this icon (
) is public.
Every repository with this icon (
Another way of calling verify_recaptcha
Just FYI. I had trouble getting the plugin to work directly with the constants RECAPTCHA_PUBLIC_KEY and RECAPTCHA_PRIVATE_KEY that were in my environment.rb file (maybe because I was on windows?). So had to write my verify_captcha call like this
if request.post? and not verify_recaptcha(:private_key => RECAPTCHA_PRIVATE_KEY)
flash[:error] = "The words do not match the ones in the recaptcha image!"
return
end
Also had to do the same with the recaptcha_tags call
<%= recaptcha_tags(:public_key => RECAPTCHA_PUBLIC_KEY) %>







