sendChangeEmailConfirmation sends multiple verification emails when revisiting the confirmation link

I’m not sure whether this is a bug or if my configuration is incorrect, but I’m seeing unexpected behavior when changing a user’s email.

When I initiate an email change, Better Auth correctly sends the changeEmailConfirmation link to my current email. However, after I click that link, I receive a verification email at the new email address — which is expected.

The issue is that if I click the changeEmailConfirmation link multiple times, Better Auth keeps sending additional verification emails to the new address. In other words, every time I revisit that confirmation URL, a new verification email is sent, even though the email change process should only require one verification.

I would expect Better Auth to send the verification email only once, not every time the confirmation link is accessed.
Was this page helpful?