hoodiehq / hoodie-account-client

:dog: Account client API for the browser
https://hoodiehq.github.io/hoodie-account-client
Apache License 2.0
11 stars 24 forks source link

110/account destroy #119

Closed thomasjinlo closed 8 years ago

thomasjinlo commented 8 years ago

In destroy.js it checks whether or not the user is signed in. Depending on that it'll make the request or just return a resolved promise after clearing session. If this can be better refactored please let me know.

gr2m commented 8 years ago

released as v4.4.0