1
0
mirror of https://github.com/bitwarden/browser.git synced 2025-02-17 01:31:25 +01:00

2fa provider enum must be a string in JSON

This commit is contained in:
Kyle Spearrin 2017-01-28 02:10:38 -05:00
parent b2aa4fed78
commit afc380a81c

View File

@ -16,7 +16,7 @@ var TokenRequest = function (email, masterPasswordHash, token, device) {
this.email = email; this.email = email;
this.masterPasswordHash = masterPasswordHash; this.masterPasswordHash = masterPasswordHash;
this.token = token; this.token = token;
this.provider = 0; // authenticator this.provider = 'Authenticator';
this.device = null; this.device = null;
if (device) { if (device) {
this.device = device; this.device = device;