Rate limit new signups.

This commit is contained in:
Mike Dalessio
2025-06-20 14:36:51 -04:00
parent 1be9ba6ee3
commit b29e884b1b
@@ -1,5 +1,6 @@
class Signup::AccountsController < Signup::BaseController
before_action :reset_signup_storage
rate_limit to: 10, within: 3.minutes, only: :create, with: -> { redirect_to new_signup_account_path, alert: "Try again later." }
def new
@signup = Signup.new