diff --git a/dist/autofill-debug.js b/dist/autofill-debug.js index 1219902de..36be387dc 100644 --- a/dist/autofill-debug.js +++ b/dist/autofill-debug.js @@ -12332,7 +12332,7 @@ const matchingConfiguration = exports.matchingConfiguration = { }, password: { match: /password|passwort|kennwort|wachtwoord|mot de passe|clave|contraseña|lösenord/iu, - skip: /email|one-time|error|hint/iu, + skip: /email|one-time|error|hint|username/iu, forceUnknown: /captcha|mfa|2fa|two factor|otp|pin/iu }, username: { diff --git a/dist/autofill.js b/dist/autofill.js index a517dd179..9a4c9a8f4 100644 --- a/dist/autofill.js +++ b/dist/autofill.js @@ -8166,7 +8166,7 @@ const matchingConfiguration = exports.matchingConfiguration = { }, password: { match: /password|passwort|kennwort|wachtwoord|mot de passe|clave|contraseña|lösenord/iu, - skip: /email|one-time|error|hint/iu, + skip: /email|one-time|error|hint|username/iu, forceUnknown: /captcha|mfa|2fa|two factor|otp|pin/iu }, username: { diff --git a/src/Form/matching-config/__generated__/compiled-matching-config.js b/src/Form/matching-config/__generated__/compiled-matching-config.js index bb768c2a7..ceedc221d 100644 --- a/src/Form/matching-config/__generated__/compiled-matching-config.js +++ b/src/Form/matching-config/__generated__/compiled-matching-config.js @@ -245,7 +245,7 @@ const matchingConfiguration = { }, password: { match: /password|passwort|kennwort|wachtwoord|mot de passe|clave|contraseña|lösenord/iu, - skip: /email|one-time|error|hint/iu, + skip: /email|one-time|error|hint|username/iu, forceUnknown: /captcha|mfa|2fa|two factor|otp|pin/iu }, username: { diff --git a/src/Form/matching-config/matching-config-source.js b/src/Form/matching-config/matching-config-source.js index 006ab34ab..cfe5141e2 100644 --- a/src/Form/matching-config/matching-config-source.js +++ b/src/Form/matching-config/matching-config-source.js @@ -264,7 +264,7 @@ const matchingConfiguration = { '|clave|contraseña' + // Swedish '|lösenord', - skip: 'email|one-time|error|hint', + skip: 'email|one-time|error|hint|username', forceUnknown: 'captcha|mfa|2fa|two factor|otp|pin' }, username: { diff --git a/src/Form/test-cases/index.json b/src/Form/test-cases/index.json index 7517bfbd0..64a7788d2 100644 --- a/src/Form/test-cases/index.json +++ b/src/Form/test-cases/index.json @@ -503,5 +503,6 @@ { "html": "alrincon_login.html" }, { "html": "metalarchives_login.html" }, { "html": "accor_hotel-booking.html" }, + { "html": "pcsretirementcom_login.html", "expectedSubmitFalsePositives": 3 }, { "html": "flytap_login.html" } ] diff --git a/src/Form/test-cases/pcsretirementcom_login.html b/src/Form/test-cases/pcsretirementcom_login.html new file mode 100644 index 000000000..e1636b896 --- /dev/null +++ b/src/Form/test-cases/pcsretirementcom_login.html @@ -0,0 +1,54 @@ + + + +
+ +

Log in to your account

+ +
+ + + +
+ +
+ + + + +
+ + +
+
+ + +
+
+ + + +
+
+
+ +
+
+
+
Don't have credentials
+
+
+
+ Register for web access +
+ + + + +
diff --git a/swift-package/Resources/assets/autofill-debug.js b/swift-package/Resources/assets/autofill-debug.js index 1219902de..36be387dc 100644 --- a/swift-package/Resources/assets/autofill-debug.js +++ b/swift-package/Resources/assets/autofill-debug.js @@ -12332,7 +12332,7 @@ const matchingConfiguration = exports.matchingConfiguration = { }, password: { match: /password|passwort|kennwort|wachtwoord|mot de passe|clave|contraseña|lösenord/iu, - skip: /email|one-time|error|hint/iu, + skip: /email|one-time|error|hint|username/iu, forceUnknown: /captcha|mfa|2fa|two factor|otp|pin/iu }, username: { diff --git a/swift-package/Resources/assets/autofill.js b/swift-package/Resources/assets/autofill.js index a517dd179..9a4c9a8f4 100644 --- a/swift-package/Resources/assets/autofill.js +++ b/swift-package/Resources/assets/autofill.js @@ -8166,7 +8166,7 @@ const matchingConfiguration = exports.matchingConfiguration = { }, password: { match: /password|passwort|kennwort|wachtwoord|mot de passe|clave|contraseña|lösenord/iu, - skip: /email|one-time|error|hint/iu, + skip: /email|one-time|error|hint|username/iu, forceUnknown: /captcha|mfa|2fa|two factor|otp|pin/iu }, username: {