mirror of
https://github.com/bitwarden/browser
synced 2025-12-16 08:13:42 +00:00
fix for 0 base int provider
This commit is contained in:
@@ -38,7 +38,7 @@ var TokenRequest = function (email, masterPasswordHash, token, device) {
|
|||||||
obj.devicePushToken = this.device.pushToken;
|
obj.devicePushToken = this.device.pushToken;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (this.token && this.provider) {
|
if (this.token && this.provider != null && (typeof this.provider !== 'undefined')) {
|
||||||
obj.twoFactorToken = this.token;
|
obj.twoFactorToken = this.token;
|
||||||
obj.twoFactorProvider = this.provider;
|
obj.twoFactorProvider = this.provider;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user