1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-11-23 11:56:00 +01:00

Add card-expiry and expiry, found on IKEA website (#707)

This commit is contained in:
Gabriel Augendre 2018-08-29 19:39:19 +02:00 committed by Kyle Spearrin
parent e1c2fa3dca
commit 1ad45c190e

View File

@ -429,8 +429,9 @@ export default class AutofillService implements AutofillServiceInterface {
fillFields.number = f;
break;
} else if (!fillFields.exp && this.isFieldMatch(f[attr],
['cc-exp', 'card-exp', 'cc-expiration', 'card-expiration', 'cc-ex', 'card-ex', 'card-expire',
'validite', 'expiration', 'mm-yy', 'mm-yyyy', 'yy-mm', 'yyyy-mm', 'expiration-date'],
['cc-exp', 'card-exp', 'cc-expiration', 'card-expiration', 'cc-ex', 'card-ex',
'card-expire', 'card-expiry', 'validite', 'expiration', 'expiry', 'mm-yy',
'mm-yyyy', 'yy-mm', 'yyyy-mm', 'expiration-date'],
['mm-yy', 'mm-yyyy', 'yy-mm', 'yyyy-mm', 'expiration-date'])) {
fillFields.exp = f;
break;