mirror of
https://github.com/bitwarden/browser.git
synced 2024-11-24 12:06:15 +01:00
SteamChars to regular string
This commit is contained in:
parent
4b85172b52
commit
5b59f888e0
@ -7,8 +7,7 @@ import { TotpService as TotpServiceAbstraction } from '../abstractions/totp.serv
|
|||||||
import { Utils } from '../misc/utils';
|
import { Utils } from '../misc/utils';
|
||||||
|
|
||||||
const B32Chars = 'ABCDEFGHIJKLMNOPQRSTUVWXYZ234567';
|
const B32Chars = 'ABCDEFGHIJKLMNOPQRSTUVWXYZ234567';
|
||||||
const SteamChars = ['2', '3', '4', '5', '6', '7', '8', '9', 'B', 'C', 'D', 'F', 'G', 'H', 'J', 'K', 'M',
|
const SteamChars = '23456789BCDFGHJKMNPQRTVWXY';
|
||||||
'N', 'P', 'Q', 'R', 'T', 'V', 'W', 'X', 'Y'];
|
|
||||||
|
|
||||||
export class TotpService implements TotpServiceAbstraction {
|
export class TotpService implements TotpServiceAbstraction {
|
||||||
constructor(private storageService: StorageService, private cryptoFunctionService: CryptoFunctionService) { }
|
constructor(private storageService: StorageService, private cryptoFunctionService: CryptoFunctionService) { }
|
||||||
|
Loading…
Reference in New Issue
Block a user