Skip to content

Commit

Permalink
fix: fixing logout function
Browse files Browse the repository at this point in the history
  • Loading branch information
n13 committed Jun 23, 2023
1 parent a992b49 commit c10f3aa
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/HyphaAuthenticator.js
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,7 @@ export class HyphaAuthenticator extends Authenticator {
* Logs the user out of the dapp. This will be strongly dependent on each Authenticator app's patterns.
*/
logout() {
this.users = []
return this.transport.logout();
}

Expand Down

0 comments on commit c10f3aa

Please sign in to comment.