tutao / tutanota

Tuta is an email service with a strong focus on security and privacy that lets you encrypt emails, contacts and calendar entries on all your devices.
https://tuta.com
GNU General Public License v3.0
6.06k stars 524 forks source link

wrong message when entering wrong TOTP code #5258

Closed kib42 closed 1 year ago

kib42 commented 1 year ago

when I try to register a new TOTP authenticator and enter the wrong six digit code, I get the message: "Please enter the six digit code from your authenticator to finish setup"

Test Notes

ganthern commented 1 year ago

the issue should be somewhere around here:

https://github.com/tutao/tutanota/blob/c7420e94fec20fc385682d144bd604778d715691/src/settings/login/secondfactor/SecondFactorEditDialog.ts#L217-L229

maybe we're not setting the failed status correctly