Rate limit forgot password (password reset email)
I'm able to send multiple password reset emails in rapid succession. I've tried setting a rate limit but am unclear what I need to enter in the custom function - nothing seems to work. Example:
Any help on what I'm supposed to put in place of
/forget-password/*
? I've tried several permutations of it.
Thanks for the help!Solution:Jump to solution
Figured it out. It's this:
```
customRules: {
"/forget-password": async (request) => {...
1 Reply
Solution
Figured it out. It's this:
and it only works when running in prod - not in dev