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:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user