Skip to content

Releases: vkononov/devise-cloudflare-turnstile

Release list

v0.9.0

Choose a tag to compare

@vkononov vkononov released this 31 Jul 04:47
0661a6c

Initial release of devise-cloudflare-turnstile. Automatic Cloudflare Turnstile protection for Devise forms, with no changes to your Devise views or controllers.

Features

  • Injects a Turnstile widget into every Devise form via JavaScript. No view overrides needed.
  • Verifies Turnstile on every Devise create action and re-renders the form on failure.
  • Skip protection per controller or action with config.skip or the skip_turnstile macro.
  • Set widget appearance globally with config.default_data, or render your own widget in a custom view.
  • Forward extra siteverify parameters like remoteip via turnstile_verify_options.
  • Works with Devise extensions, Turbo/Turbolinks, and CSP nonces out of the box.
  • Built on cloudflare-turnstile-rails.

Compatibility

  • Rails 5.0 to latest, Ruby 2.6 to latest.