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

renew session after changing username / password #70

Closed gr2m closed 8 years ago

gr2m commented 8 years ago

account.update(options) is implemented, but the problem is that once the username and/or password changes, the session ID gets invalidated.

So what we need is to renew the session with the new username / password by doing a PUT /session request, but without triggering any extra events.