near / fast-auth-signer

https://fast-auth-signer.vercel.app
MIT License
30 stars 9 forks source link

Disable resend e-mail button while e-mail is sending #144

Open Pessina opened 9 months ago

Pessina commented 9 months ago

Currently, users can click the 'resend email' button multiple times, resulting in receiving numerous emails. To improve this, we could temporarily disable the 'send email' button and display a message confirming that the email has been successfully sent.

@nall-near , what do you think?

Image

nall-near commented 9 months ago

Hey @Pessina, I agree this could be improved. However we have a new direction planned for account verification using a pin code with a new design. I'd prefer to prioritize implementing this verify PIN screen and showing status in the string "Send me a new code"

image

However, the same problem could persist here, where users spam the "new code" request. I think with a status message shown for a few seconds helps. We could also put the expiration time in this field and only show the "new code" action when time expires. Let me know what you think.