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

account.get() returns session #46

Closed gr2m closed 8 years ago

gr2m commented 8 years ago

account.get() currently returns account username, id and profile if existent. It now returns a session property, which has an id property.

The reason is that the store module (and in future plugins) need to know the session.id to authenticate against the server.

The solution I came up with for now is shown here: https://github.com/hoodiehq/hoodie-client-store/pull/57