Fix !== null checks

This commit is contained in:
Kyle Spearrin 2018-08-30 21:47:41 -04:00
parent 82bf646a77
commit 38c26d9649
1 changed files with 1 additions and 1 deletions

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';