1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-12-22 16:29:09 +01:00

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 <jprusik@classynemesis.com>
This commit is contained in:
KL4RKS 2023-11-14 15:34:24 +00:00 committed by GitHub
parent 49ba8384e5
commit 5a879e59c6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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[] = [