1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-06-27 10:46:02 +02:00

[PM-969] Fix card number not being populated for Greek provider Eurobank. (#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>
This commit is contained in:
xnick 2023-11-15 20:09:59 +02:00 committed by GitHub
parent 1cbe67d192
commit c1f827069d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -110,6 +110,7 @@ export class CreditCardAutoFillConstants {
"carte-credit",
"num-carte",
"cb-num",
"card-pan",
];
static readonly CardNumberFieldNameValues: string[] = [