Hi everyone :smiley: I'm currently setting up emai...
# general
d
Hi everyone 😃 I'm currently setting up email verification in Ory kratos (self hosted) but I'm running into an issue when calling updateVerificationFlow. It seems like when I put an email address for an already verified email address, the verification email gets sent again; more importanly, anyone is able to trigger this as it's a public endpoint. Wouldn't this be vulnerable to spam? User A could just craft their own update verification flow request, enter the email of User B and Ory Kratos would just send a verification email to User B even though his email might already be verified.
For the record, I have tried changing the email field to the email from a different identity (already verified email) and the verification email gets resent.
Is there a way to prevent this behavior?
Relevant part of my
kratos.yml
config