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

Merge branch 'master' of github.com:bitwarden/browser

This commit is contained in:
Kyle Spearrin 2018-09-27 08:27:37 -04:00
commit db2dc2d303

View File

@ -444,7 +444,8 @@ export default class AutofillService implements AutofillServiceInterface {
'expire-month', 'expire-mo', 'expiry-month', 'expiry-mo', 'card-expire-month',
'card-expire-mo', 'card-expiry-month', 'card-expiry-mo', 'mois-validite',
'mois-expiration', 'm-validite', 'm-expiration', 'expiry-date-field-month',
'expiration-date-month', 'expiration-date-mm', 'exp-mon', 'validity-mo'])) {
'expiration-date-month', 'expiration-date-mm', 'exp-mon', 'validity-mo',
'exp-date-mo'])) {
fillFields.expMonth = f;
break;
} else if (!fillFields.expYear && this.isFieldMatch(f[attr],
@ -455,12 +456,13 @@ export default class AutofillService implements AutofillServiceInterface {
'expiry-year', 'expiry-yr', 'card-expire-year', 'card-expire-yr', 'card-expiry-year',
'card-expiry-yr', 'an-validite', 'an-expiration', 'annee-validite',
'annee-expiration', 'expiry-date-field-year', 'expiration-date-year',
'expiration-date-yy', 'expiration-date-yyyy', 'validity-year'])) {
'expiration-date-yy', 'expiration-date-yyyy', 'validity-year', 'exp-date-year'])) {
fillFields.expYear = f;
break;
} else if (!fillFields.code && this.isFieldMatch(f[attr],
['cvv', 'cvc', 'cvv2', 'cc-csc', 'cc-cvv', 'card-csc', 'card-cvv', 'cvd', 'cid', 'cvc2', 'cnv',
'cvn2', 'cc-code', 'card-code', 'code-securite', 'security-code', 'crypto'])) {
['cvv', 'cvc', 'cvv2', 'cc-csc', 'cc-cvv', 'card-csc', 'card-cvv', 'cvd', 'cid', 'cvc2',
'cnv', 'cvn2', 'cc-code', 'card-code', 'code-securite', 'security-code', 'crypto',
'card-verif'])) {
fillFields.code = f;
break;
} else if (!fillFields.brand && this.isFieldMatch(f[attr],