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:
parent
b2aa4fed78
commit
afc380a81c
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user