Description
Steps to Reproduce
Currently when we register as a new user, we are required to verify our email as a prerequisite in order to proceed with the registration flow.
Current behavior
Currently, we are only able to send the verification email once. Which for some reason if is missed/deleted/lost. There is no provision to resent the verification email link.
We get a 409 error when trying to send verification link:
Expected behavior
There should be a resent verifcation link functionality where in we can have a max number of tries (maybe 2-3, configurable, taken from config). If not maxed out we should be able to resent verification email.
How can this be achieved?
- We can have a resend flag in the existing
send-verification-link
API which can be triggered in cases we want to resend verification email - This should be false by default
- Should have a max capacity as per configuration to only resend email for max number of times and throw a contact administrator or max verification link sent functionality