Skip to content

Commit

Permalink
fix: clear user state on logout (#234)
Browse files Browse the repository at this point in the history
  • Loading branch information
ErnoW authored Jan 28, 2022
1 parent 2594190 commit 5485b11
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/ParseUser.js
Original file line number Diff line number Diff line change
Expand Up @@ -1163,6 +1163,7 @@ const DefaultController = {
}
currentUser._logOutWithAll();
currentUser._finishFetch({ sessionToken: undefined });
currentUser._clearServerData();
}
currentUserCacheMatchesDisk = true;
currentUserCache = null;
Expand Down

0 comments on commit 5485b11

Please sign in to comment.