Ratelimit with Email Verification
Hi, everyone!
Can someone tell me why I'm not able to set rate limit to sendVerificationEmail separatley?
This rules are applied in such way that if i have different rate limit for sign-in with email and requireEmailVerification: true,
emails will be sent as many times as sign-in rate limit allows to call it
:
How do I rate limit the sendVerificationEmail fuinction itself ? What type of error I should throw to handle it on the client in the ErrorContext ? Why verification email even sent with every login attempt ??
Can someone tell me why I'm not able to set rate limit to sendVerificationEmail separatley?
This rules are applied in such way that if i have different rate limit for sign-in with email and requireEmailVerification: true,
emails will be sent as many times as sign-in rate limit allows to call it
:
How do I rate limit the sendVerificationEmail fuinction itself ? What type of error I should throw to handle it on the client in the ErrorContext ? Why verification email even sent with every login attempt ??