1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-15 07:43:35 +00:00

[PS-1122] Adds Mir payment system (#3079)

* Adds Mir payment system

* Fixes Mir regex pattern and formatting

* Changes Mir logos to Russian ones

* Localize Mir in select
This commit is contained in:
Vitaly Baev
2022-07-19 13:20:37 +03:00
committed by GitHub
parent a302f08a7c
commit 0a4b8b15bc
10 changed files with 26 additions and 1 deletions

View File

@@ -301,6 +301,12 @@ export abstract class BaseImporter {
return "Visa";
}
// Mir
re = new RegExp("^220[0-4]");
if (cardNum.match(re) != null) {
return "Mir";
}
return null;
}