mirror of
https://github.com/bitwarden/browser
synced 2024-12-24 17:11:55 +01:00
Remove "Mir" CC brand option (#5011)
This commit is contained in:
parent
499f0f93f9
commit
ca0a525895
@ -2003,9 +2003,6 @@
|
||||
"disabledOrganizationFilterError": {
|
||||
"message": "Items in suspended Organizations cannot be accessed. Contact your Organization owner for assistance."
|
||||
},
|
||||
"cardBrandMir": {
|
||||
"message": "Mir"
|
||||
},
|
||||
"loggingInTo": {
|
||||
"message": "Logging in to $DOMAIN$",
|
||||
"placeholders": {
|
||||
|
@ -2035,9 +2035,6 @@
|
||||
"neverLockWarning": {
|
||||
"message": "Are you sure you want to use the \"Never\" option? Setting your lock options to \"Never\" stores your vault's encryption key on your device. If you use this option you should ensure that you keep your device properly protected."
|
||||
},
|
||||
"cardBrandMir": {
|
||||
"message": "Mir"
|
||||
},
|
||||
"vault": {
|
||||
"message": "Vault"
|
||||
},
|
||||
|
@ -5639,9 +5639,6 @@
|
||||
"reporting": {
|
||||
"message": "Reporting"
|
||||
},
|
||||
"cardBrandMir": {
|
||||
"message": "Mir"
|
||||
},
|
||||
"numberOfUsers": {
|
||||
"message": "Number of users"
|
||||
},
|
||||
|
Binary file not shown.
Before Width: | Height: | Size: 505 B |
Binary file not shown.
Before Width: | Height: | Size: 644 B |
@ -25,12 +25,6 @@ const numberFormats: Record<string, CardRuleEntry[]> = {
|
||||
{ cardLength: 19, blocks: [6, 13] },
|
||||
],
|
||||
Amex: [{ cardLength: 15, blocks: [4, 6, 5] }],
|
||||
Mir: [
|
||||
{ cardLength: 16, blocks: [4, 4, 4, 4] },
|
||||
{ cardLength: 17, blocks: [5, 4, 4, 4] },
|
||||
{ cardLength: 18, blocks: [6, 4, 4, 4] },
|
||||
{ cardLength: 19, blocks: [7, 4, 4, 4] },
|
||||
],
|
||||
Other: [{ cardLength: 16, blocks: [4, 4, 4, 4] }],
|
||||
};
|
||||
|
||||
|
@ -9,7 +9,6 @@ $card-icons: (
|
||||
"mastercard": $card-icons-base + "mastercard-light.png",
|
||||
"union-pay": $card-icons-base + "union_pay-light.png",
|
||||
"ru-pay": $card-icons-base + "ru_pay-light.png",
|
||||
"mir": $card-icons-base + "mir-light.png",
|
||||
);
|
||||
|
||||
$card-icons-dark: (
|
||||
@ -22,7 +21,6 @@ $card-icons-dark: (
|
||||
"mastercard": $card-icons-base + "mastercard-dark.png",
|
||||
"union-pay": $card-icons-base + "union_pay-dark.png",
|
||||
"ru-pay": $card-icons-base + "ru_pay-dark.png",
|
||||
"mir": $card-icons-base + "mir-dark.png",
|
||||
);
|
||||
|
||||
.credit-card-icon {
|
||||
|
@ -118,7 +118,6 @@ export class AddEditComponent implements OnInit, OnDestroy {
|
||||
{ name: "Maestro", value: "Maestro" },
|
||||
{ name: "UnionPay", value: "UnionPay" },
|
||||
{ name: "RuPay", value: "RuPay" },
|
||||
{ name: i18nService.t("cardBrandMir"), value: "Mir" },
|
||||
{ name: i18nService.t("other"), value: "Other" },
|
||||
];
|
||||
this.cardExpMonthOptions = [
|
||||
|
@ -20,7 +20,6 @@ const cardIcons: Record<string, string> = {
|
||||
Maestro: "card-maestro",
|
||||
UnionPay: "card-union-pay",
|
||||
RuPay: "card-ru-pay",
|
||||
Mir: "card-mir",
|
||||
};
|
||||
|
||||
@Component({
|
||||
|
@ -301,12 +301,6 @@ export abstract class BaseImporter {
|
||||
return "Visa";
|
||||
}
|
||||
|
||||
// Mir
|
||||
re = new RegExp("^220[0-4]");
|
||||
if (cardNum.match(re) != null) {
|
||||
return "Mir";
|
||||
}
|
||||
|
||||
return null;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user