1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-09-13 01:58:44 +02:00

Fix !== null checks

This commit is contained in:
Kyle Spearrin 2018-08-30 21:47:41 -04:00
parent 82bf646a77
commit 38c26d9649

View File

@ -37,7 +37,7 @@ export class TokenRequest {
// 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.twoFactorProvider = this.provider;
obj.twoFactorRemember = this.remember ? '1' : '0';