fimfiction-issues icon indicating copy to clipboard operation
fimfiction-issues copied to clipboard

Disable autocomplete on 2FA code field.

Open arancaytar opened this issue 6 years ago • 1 comments

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

arancaytar avatar May 10 '18 10:05 arancaytar

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

ngyikp avatar Sep 11 '18 19:09 ngyikp