Skip to content
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

Calling login after logout doesn't override previous auth parameters #88

Closed
yasserf opened this issue Mar 26, 2016 · 0 comments
Closed
Assignees
Milestone

Comments

@yasserf
Copy link
Contributor

yasserf commented Mar 26, 2016

I can close the connection with ds.close() but as soon as I run ds.login() I get logged in as the same user, regardless of the credentials provided.

ds.login(user: 'admin', pass: 'admin')
// AUTH_SUCCESSFUL | admin

ds.close()
// CLIENT_DISCONNECTED | admin

ds.login({})
// INCOMING_CONNECTION | from http://localhost:3000/ (127.0.0.1) via engine.io
// AUTH_SUCCESSFUL | admin

See stackoverflow question

@yasserf yasserf added the ready label Apr 29, 2016
@yasserf yasserf added this to the 1.0 milestone Apr 29, 2016
@yasserf yasserf added in progress and removed ready labels May 11, 2016
@yasserf yasserf self-assigned this May 15, 2016
WolframHempel added a commit that referenced this issue May 19, 2016
@yasserf yasserf removed the in review label May 19, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant