From 5b59f888e03c2246abb6dca14ba19eac0cbe38b1 Mon Sep 17 00:00:00 2001 From: Kyle Spearrin Date: Mon, 26 Nov 2018 08:23:31 -0500 Subject: [PATCH] SteamChars to regular string --- src/services/totp.service.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/services/totp.service.ts b/src/services/totp.service.ts index 742b5bdc18..ddda7df29b 100644 --- a/src/services/totp.service.ts +++ b/src/services/totp.service.ts @@ -7,8 +7,7 @@ import { TotpService as TotpServiceAbstraction } from '../abstractions/totp.serv import { Utils } from '../misc/utils'; const B32Chars = 'ABCDEFGHIJKLMNOPQRSTUVWXYZ234567'; -const SteamChars = ['2', '3', '4', '5', '6', '7', '8', '9', 'B', 'C', 'D', 'F', 'G', 'H', 'J', 'K', 'M', - 'N', 'P', 'Q', 'R', 'T', 'V', 'W', 'X', 'Y']; +const SteamChars = '23456789BCDFGHJKMNPQRTVWXY'; export class TotpService implements TotpServiceAbstraction { constructor(private storageService: StorageService, private cryptoFunctionService: CryptoFunctionService) { }