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
def site_key
ENV["CLOUDFLARE_TURNSTILE_SITE_KEY"]
end
Which doesn't work if you set the sitekey in an initializer as it says is possible in the readme.
Also many folks use the same action for get & post, it might be nice to document the cloudflare_turnstile_verify method for calling directly if you don't want to use the before_action.
The text was updated successfully, but these errors were encountered:
Thanks for setting this up!
https://github.com/dotenv-org/cloudflare_turnstile/blob/master/lib/cloudflare_turnstile/view_helpers.rb
Which doesn't work if you set the sitekey in an initializer as it says is possible in the readme.
Also many folks use the same action for get & post, it might be nice to document the cloudflare_turnstile_verify method for calling directly if you don't want to use the before_action.
The text was updated successfully, but these errors were encountered: