Skip to content

Commit

Permalink
[PM-969] Fix card number not being populated for Greek provider Eurob…
Browse files Browse the repository at this point in the history
…ank. (bitwarden#4648)

* Fix card number not being populated for Greek provider Eurobank.

They use the identifier `card.pan` for the card number, both in the `name` attr and the `id`.

* Replace the dot with a dash so that it can be removed in isFieldMatch.

---------

Co-authored-by: Jonathan Prusik <jprusik@classynemesis.com>
  • Loading branch information
2 people authored and BlackDex committed Nov 21, 2023
1 parent 0796c28 commit 8f69731
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions apps/browser/src/autofill/services/autofill-constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,7 @@ export class CreditCardAutoFillConstants {
"carte-credit",
"num-carte",
"cb-num",
"card-pan",
];

static readonly CardNumberFieldNameValues: string[] = [
Expand Down

0 comments on commit 8f69731

Please sign in to comment.