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:
@@ -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 () { });
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user