fimfiction-issues
fimfiction-issues copied to clipboard
Disable autocomplete on 2FA code field.
Some browsers seem to remember and prefill the time-based OTP code field with the previously entered value, which doesn't make any sense.
I believe this could be fixed by setting the autocomplete attribute to off
: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#attr-autocomplete
Even better, set it to one-time-code
.
Though it's still not finalized and only works on Safari 12 for now.
https://github.com/whatwg/html/issues/3745