Skip to content

Commit

Permalink
Better fix
Browse files Browse the repository at this point in the history
Signed-off-by: Emanuele Feliziani <[email protected]>
  • Loading branch information
GioSensation committed Oct 31, 2023
1 parent 057ab8c commit 40a035f
Show file tree
Hide file tree
Showing 8 changed files with 22 additions and 12 deletions.
6 changes: 4 additions & 2 deletions dist/autofill-debug.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 4 additions & 2 deletions dist/autofill.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/Form/matching-config/matching-config-source.js
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@ const matchingConfiguration = {
'|clave|contraseña' +
// Swedish
'|lösenord',
skip: 'email|one-time|error|hint|username',
skip: 'email|one-time|error|hint',
forceUnknown: 'captcha|mfa|2fa|two factor|otp|pin'
},
username: {
Expand Down
3 changes: 2 additions & 1 deletion src/Form/matching.js
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,8 @@ class Matching {
if (
['password', 'text'].includes(input.type) &&
input.name !== 'email' &&
input.placeholder !== 'Username'
// pcsretirement.com, improper use of the for attribute
input.name !== 'Username'
) {
return 'credentials.password'
}
Expand Down
3 changes: 2 additions & 1 deletion src/Form/test-cases/pcsretirementcom_login.html
Original file line number Diff line number Diff line change
Expand Up @@ -51,4 +51,5 @@
</div>

<input id="RequestClientIp" name="RequestClientIp" type="hidden" value="">
<input name="__RequestVerificationToken" type="hidden" value="CfDJ8HnUUXEcWsVAgsnceZ6J-X6_Oq0F840ZVBUdV12lF41SqPnfe6NC4PzG2m3rSzPWBPG9GuQEhWy8kEHE1OH7WQxn0zk0EYECYxtNuVljuBTYhG19JDmOJXVydD_Xs2rCaJTKmJCCYx_7MnWptRijbEs"></form>
<input name="__RequestVerificationToken" type="hidden" value="CfDJ8HnUUXEcWsVAgsnceZ6J-X6_Oq0F840ZVBUdV12lF41SqPnfe6NC4PzG2m3rSzPWBPG9GuQEhWy8kEHE1OH7WQxn0zk0EYECYxtNuVljuBTYhG19JDmOJXVydD_Xs2rCaJTKmJCCYx_7MnWptRijbEs">
</form>
6 changes: 4 additions & 2 deletions swift-package/Resources/assets/autofill-debug.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 4 additions & 2 deletions swift-package/Resources/assets/autofill.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 40a035f

Please sign in to comment.