From 5a879e59c63b0df5ceeabf20a5ad8b95b2e168da Mon Sep 17 00:00:00 2001 From: KL4RKS <2390741+KL4RKS@users.noreply.github.com> Date: Tue, 14 Nov 2023 15:34:24 +0000 Subject: [PATCH] Add to TotpFieldNames array in autofill-constants.ts (#6501) "approvals_code", -- facebook.com "code", -- cash.app, docker.com, dropbox.com, evernote.com, lincolnfinancial.com, "otc", -- live.com "otc-code", -- evernote.com "otp-code", -- getpostman.com "otpcode", -- amazon.com "pin", -- linkedin.com "security_code", -- docusign.com "twofa", -- https://github.com/bitwarden/clients/pull/6413 (but lowercased to match convention) "verificationCode", -- bestbuy.com Co-authored-by: Jonathan Prusik --- .../src/autofill/services/autofill-constants.ts | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/apps/browser/src/autofill/services/autofill-constants.ts b/apps/browser/src/autofill/services/autofill-constants.ts index 20909a5e2d7..ca73faad88f 100644 --- a/apps/browser/src/autofill/services/autofill-constants.ts +++ b/apps/browser/src/autofill/services/autofill-constants.ts @@ -26,10 +26,19 @@ export class AutoFillConstants { "mfa", "totpcode", "2facode", + "approvals_code", + "code", "mfacode", + "otc", + "otc-code", + "otp-code", + "otpcode", + "pin", + "security_code", "twofactor", - "twoFa", + "twofa", "twofactorcode", + "verificationCode", ]; static readonly PasswordFieldIgnoreList: string[] = [