1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-20 10:13:31 +00:00

lint fixes

This commit is contained in:
Kyle Spearrin
2017-07-14 15:34:05 -04:00
parent cf850838b5
commit e4baa19232
24 changed files with 94 additions and 83 deletions

View File

@@ -41,7 +41,7 @@ var TokenRequest = function (email, masterPasswordHash, provider, token, remembe
obj.devicePushToken = this.device.pushToken;
}
if (this.token && this.provider != null && (typeof this.provider !== 'undefined')) {
if (this.token && this.provider !== null && (typeof this.provider !== 'undefined')) {
obj.twoFactorToken = this.token;
obj.twoFactorProvider = this.provider;
obj.twoFactorRemember = this.remember ? '1' : '0';