Forget Password Security/Rate limits

Is there an option to rate-limit the verification entries generated by forgetPassword?
For example, can we prevent generating a new reset password entry for a given value id if there are already X non-expired entries for it?

Additionally, what’s the purpose of creating a new entry for the same value instead of updating the existing one or deleting the old one?

Doc: https://www.better-auth.com/docs/authentication/email-password#forget-password
Was this page helpful?