1
0
mirror of https://github.com/bitwarden/jslib synced 2025-12-29 06:33:15 +00:00

Make authResult.twoFactor a getter

This commit is contained in:
Thomas Rittson
2021-12-20 14:15:53 +10:00
parent e3c7a79f30
commit 54b4154c02
3 changed files with 5 additions and 10 deletions

View File

@@ -172,7 +172,6 @@ describe("Cipher Service", () => {
const expected = new AuthResult();
expected.forcePasswordReset = false;
expected.resetMasterPassword = false;
expected.twoFactor = false;
expected.twoFactorProviders = null;
expected.captchaSiteKey = undefined;
return expected;
@@ -311,7 +310,6 @@ describe("Cipher Service", () => {
apiService.postIdentityToken(Arg.any()).resolves(tokenResponse);
const expected = new AuthResult();
expected.twoFactor = true;
expected.twoFactorProviders = twoFactorProviders;
expected.captchaSiteKey = undefined;