Old Passcode is working after resend code in sms and not working in Email

Hi

I generated two passcodes to phone in SMS factor and I’m using the first one not latest to verify passcode, it’s working

I did the same thing for email it’s not working