rp_st
10/22/2021, 3:39 AMgenerateEmailVerifyTokenPOST
function in override -> emailverification -> apis
object (see https://supertokens.io/docs/thirdpartyemailpassword/advanced-customizations/apis-override/usage), and enforcing a rate limit to the API somehow.
Another way would be to override the sendVerificationEmail
function on the frontend override -> emailverification -> functions
and make it do nothing. Then add some JS to listen to on click for the resend email button, and call the API manually. But here, if the user doesn't click on resend, then an email won't go to them at all, which is bad UX. So you would probably have to modify the screen to add to add a send email button.