From afc380a81ccd1946fc33a91623c50f165c8cd843 Mon Sep 17 00:00:00 2001 From: Kyle Spearrin Date: Sat, 28 Jan 2017 02:10:38 -0500 Subject: [PATCH] 2fa provider enum must be a string in JSON --- src/models/api/requestModels.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/models/api/requestModels.js b/src/models/api/requestModels.js index 0e80590567..a881d8997f 100644 --- a/src/models/api/requestModels.js +++ b/src/models/api/requestModels.js @@ -16,7 +16,7 @@ var TokenRequest = function (email, masterPasswordHash, token, device) { this.email = email; this.masterPasswordHash = masterPasswordHash; this.token = token; - this.provider = 0; // authenticator + this.provider = 'Authenticator'; this.device = null; if (device) { this.device = device;