Skip to content

Commit

Permalink
fix: tweak regex to match the form attribute
Browse files Browse the repository at this point in the history
  • Loading branch information
dbajpeyi committed Dec 5, 2024
1 parent 6f030e6 commit b60c7da
Show file tree
Hide file tree
Showing 9 changed files with 752 additions and 353 deletions.
456 changes: 327 additions & 129 deletions dist/autofill-debug.js

Large diffs are not rendered by default.

25 changes: 13 additions & 12 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 @@ -416,7 +416,7 @@ const matchingConfiguration = {
},
resetPasswordLink: {
match:
"(forgot(ten)?|reset|don't remember) (your )?password|password forgotten" +
"(forgot(ten)?|reset|don't remember).?(your )?password|password forgotten" +
// Italian
'|password dimenticata|reset(?:ta) password|recuper[ao] password' +
// German
Expand Down
3 changes: 2 additions & 1 deletion src/autofill-utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -426,7 +426,8 @@ const wasAutofilledByChrome = (input) => {
* @returns {boolean}
*/
function shouldLog() {
return readDebugSetting('ddg-autofill-debug');
return true;
// return readDebugSetting('ddg-autofill-debug');
}

/**
Expand Down
134 changes: 67 additions & 67 deletions src/deviceApiCalls/__generated__/validators.zod.js

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

Loading

0 comments on commit b60c7da

Please sign in to comment.