Skip to content

Commit

Permalink
fix: logout
Browse files Browse the repository at this point in the history
  • Loading branch information
jonalan7 committed Jan 12, 2022
1 parent deae0e9 commit ee6b6c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/wapi/functions/logout.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM
*/
export async function logout() {
if (window.Store.Login) {
await window.Store.Login.startLogout();
await window.Store.Login.triggerCriticalSyncLogout();
return true;
} else {
return false;
Expand Down

1 comment on commit ee6b6c3

@jonalan7
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.