Skip to content

Commit

Permalink
fix(auth): clear subscription, transactions and payment after logout
Browse files Browse the repository at this point in the history
  • Loading branch information
ChristiaanScheermeijer committed May 23, 2022
1 parent 8b526b0 commit d977dcc
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/stores/AccountController.ts
Original file line number Diff line number Diff line change
Expand Up @@ -182,6 +182,9 @@ export const logout = async () => {
useAccountStore.setState({
auth: null,
user: null,
subscription: null,
transactions: null,
activePayment: null,
customerConsents: null,
publisherConsents: null,
});
Expand Down

0 comments on commit d977dcc

Please sign in to comment.