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

hoodie.account.fetch(), .update(), .profile.fetch() and .profile.update() should fail with UnauthenticatedError if session is invalid, but currently fails with "Not FoundError" #54

Closed gr2m closed 8 years ago

gr2m commented 8 years ago

To simulate an unauthenticated state, replace session.id in localStorage.account with a bogus value, then reload the page and do account.fetch()


Realtin commented 8 years ago

I'll try this one!

gr2m commented 8 years ago

this is on hold as it will probably be fixed by https://github.com/hoodiehq/hoodie-client-account/issues/64