Hello. Thank you for your answer @robert681
to access that button / functionality you need to submit the correct credentials. Then, what is the risk here? The users spamming their own mailbox?
Please think deeper. Firstly, why we use this plugin? To protect accounts, protect admin area from unauthorized login. Yes, you are correct, users who login with their data, probably they wont spam mailbox. But if hacker or person who want harm your website will get login data? They can spam mailbox, until website host IP will be marked as a spam. For example, why companies witch use 2FA steps, they have delay before you can send your code again.
You can use two layers of protect from this spam:
#1 You can use script. After code resend button press, you can disable button for some time.
#2 Make limit login attempts in website. For example after 5 login attempts / 5 code resend, account or IP will be restricted for some time and user will be inform about that in email.