Skip to content

Commit

Permalink
opts use cookie check not needed
Browse files Browse the repository at this point in the history
  • Loading branch information
ashleysmithTTD committed Sep 3, 2024
1 parent 5e60441 commit c607112
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/storageManager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ export class StorageManager {
}

this._localStorageManager.setValue(value);
if (!this._opts.useCookie && this._localStorageManager.loadIdentityFromLocalStorage()) {
if (this._localStorageManager.loadIdentityFromLocalStorage()) {
this._cookieManager.removeCookie(this._opts);
}
}
Expand Down

0 comments on commit c607112

Please sign in to comment.