2 codes sent on forgot my password (revisited)

All the other posts on this have been closed, so just posting to report that when using TSphinxWebLogin (not sure if it's the same on a non web one) if a user requests a password reset code it is sent twice. The not sending a code on registration is fixed, but this one is still present.

Using Sphinx 1.12.0.0 18/8/2024

Can you please confirm if the problem happens with the provided demo?
I don't see it happening here.

It doesn't happen with the demo as far as I can see.

Here's the network stack from the point of clicking 'Forgot password'

image

@wlandgraf any ideas? there is none of our code in this as far as I can see. It seems to call it twice from the browser side

If it doesn't happen in the demo, then it's a specific situation we're not aware of.

Are you able to reduce the project to a minimum and send to us so we can reproduce at our side?

I'll try if I can.

clicking the ResendCode doesn't have this issue.

Is there a way to tell from the args if it is an initial send or a resend? Or if it's part of the same request (i.e. do initial call and resend share the same id of some kind)

No, it doesn't make a difference if it's a new send or a resend.

Thanks. I can handle it (sort of) on the server, but would be easier if I new the difference.