mirror of
https://github.com/bitwarden/browser
synced 2025-12-17 08:43:33 +00:00
added ability to pass and parse twofactor provider
This commit is contained in:
@@ -13,11 +13,11 @@ var FolderRequest = function (folder) {
|
||||
this.name = folder.name ? folder.name.encryptedString : null;
|
||||
};
|
||||
|
||||
var TokenRequest = function (email, masterPasswordHash, token, device) {
|
||||
var TokenRequest = function (email, masterPasswordHash, provider, token, device) {
|
||||
this.email = email;
|
||||
this.masterPasswordHash = masterPasswordHash;
|
||||
this.token = token;
|
||||
this.provider = 0; // 0 = Authenticator
|
||||
this.provider = provider;
|
||||
this.device = null;
|
||||
if (device) {
|
||||
this.device = device;
|
||||
|
||||
Reference in New Issue
Block a user