Skip to content

Commit

Permalink
Stop password managers from autofilling address fields
Browse files Browse the repository at this point in the history
re: #1085 - updates the rules added here
re: #1626
re: openstreetmap/iD#10507
re: openstreetmap/iD#10508
  • Loading branch information
bhousel committed Dec 17, 2024
1 parent 478a4e7 commit 517e297
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions modules/util/util.js
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,9 @@ export function utilNoAuto(selection) {
.attr('autocomplete', 'new-password')
.attr('autocorrect', 'off')
.attr('autocapitalize', 'off')
.attr('data-1p-ignore', '') // Rapid#1085
.attr('data-lpignore', 'true') // Rapid#1085
.attr('data-1p-ignore', 'true') // 1Password
.attr('data-bwignore', 'true') // Bitwarden
.attr('data-form-type', 'other') // Dashlane
.attr('data-lpignore', 'true') // LastPass
.attr('spellcheck', isText ? 'true' : 'false');
}

0 comments on commit 517e297

Please sign in to comment.