-
Notifications
You must be signed in to change notification settings - Fork 464
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
make hoodie.account.signOut() resolve when offline & no local changes #194
Labels
Comments
related to this: allow to |
gr2m
pushed a commit
that referenced
this issue
May 3, 2016
gr2m
pushed a commit
that referenced
this issue
May 3, 2016
closing in favor of hoodiehq/hoodie-client#82 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
right now, when the user has an account, hoodie.account.signOut() tries to send a
DELETE
request. If it fails, it gets rejected. That makes sense, because we are using cookies for authentication and they only get removed when theDELETE
request succeeds. If we would ignore the failing request, we would remove all local data and reset the user's hash & username, but towards CouchDB, the user would still have a valid session.Not really sure how to solve this right now.
The text was updated successfully, but these errors were encountered: