Add autocomplete="off" to 2FA code input form #4346
-
|
Please consider adding a tiny Firefox 78.12.0esr (64-bit) under Debian Linux 11. |
Beta Was this translation helpful? Give feedback.
Replies: 6 comments 14 replies
-
Rather, for irrelevance — saving the 2FA code is pointless, as it's 1-use only! Also, it grows the browser storage uselessly. |
Beta Was this translation helpful? Give feedback.
-
|
Just a note to say we're looking into this |
Beta Was this translation helpful? Give feedback.
-
|
Just to follow up - we looked into this, but it looks like we'd lose some convenience for users who have SMS 2FA if we did this, and we'd rather not do that. We're already using
(https://www.twilio.com/blog/html-attributes-two-factor-authentication-autocomplete) Therefore, we have two options, and it feels like "leave as-is" probably is the best:
|
Beta Was this translation helpful? Give feedback.
-
|
Okay, so does this mean |
Beta Was this translation helpful? Give feedback.
-
|
Apologies, was off last week, so this slipped a bit. Upshot, though, is that we looked into a js solution and it wasn't as clunky as we feared. Hope to ship soon. |
Beta Was this translation helpful? Give feedback.

Just to follow up - we looked into this, but it looks like we'd lose some convenience for users who have SMS 2FA if we did this, and we'd rather not do that.
We're already using
autocomplete="one-time-code".(https://www.twilio.com/blog/html-attributes-two-factor-authentication-autocomplete)
Therefore, we have two options, and it feels like "leave as-is" probably is the best: