1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-13 14:53:33 +00:00

do not set undefined properties

This commit is contained in:
Kyle Spearrin
2017-06-06 08:48:05 -04:00
parent c6533a961a
commit bc9504f039
3 changed files with 16 additions and 1 deletions

View File

@@ -87,7 +87,7 @@ function initSyncService() {
self.apiService.getProfile(function (response) {
self.userService.getSecurityStamp().then(function (stamp) {
if (stamp && stamp != response.securityStamp) {
if (stamp && stamp !== response.securityStamp) {
if (self.logoutCallback) {
self.logoutCallback(true, function () { });
}