mirror of
https://github.com/bitwarden/browser
synced 2025-12-16 16:23:44 +00:00
Fix !== null checks
This commit is contained in:
@@ -37,7 +37,7 @@ export class TokenRequest {
|
|||||||
// obj.devicePushToken = this.device.pushToken;
|
// obj.devicePushToken = this.device.pushToken;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (this.token && this.provider !== null && (typeof this.provider !== 'undefined')) {
|
if (this.token && this.provider != null) {
|
||||||
obj.twoFactorToken = this.token;
|
obj.twoFactorToken = this.token;
|
||||||
obj.twoFactorProvider = this.provider;
|
obj.twoFactorProvider = this.provider;
|
||||||
obj.twoFactorRemember = this.remember ? '1' : '0';
|
obj.twoFactorRemember = this.remember ? '1' : '0';
|
||||||
|
|||||||
Reference in New Issue
Block a user