Skip to content

Commit

Permalink
set bearer token to undefined on signOut
Browse files Browse the repository at this point in the history
  • Loading branch information
michielbdejong committed Sep 18, 2014
1 parent 0e09c18 commit 893f999
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/hoodie/account.js
Original file line number Diff line number Diff line change
Expand Up @@ -922,6 +922,7 @@ function hoodieAccount(hoodie) {
account.trigger('cleanup');
authenticated = undefined;
setUsername(undefined);
setBearerToken(undefined);

return resolve();
}
Expand Down

0 comments on commit 893f999

Please sign in to comment.