Skip to content

logout ​

Overview ​

Signs the user out, then refetches the current user. When the store does not think the user is signed in, refetches first and skips the request if the server agrees.

Signature ​

logout()

Returns ​

Promise

Source ​

client/lib/stores/storeUser.js:326