Skip to content

ParseServer does not delete Session object on logout #346

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

Closed
guidesanti opened this issue Feb 10, 2016 · 2 comments
Closed

ParseServer does not delete Session object on logout #346

guidesanti opened this issue Feb 10, 2016 · 2 comments
Labels
type:bug Impaired feature or lacking behavior that is likely assumed

Comments

@guidesanti
Copy link

I have noticed that the behavior of hosted Parse is to create a new Session object when a user login and delete this object when this user logout from the same device.
When I tested the ParseServer version instead of the hosted Parse I noticed that this behavior is different, the Session object is created on login as expected, but on logout the object is not deleted, so if the user keeps logging in and logging out there will be as many Session objects on DB as the number of times the user login and logout.
Is this the expected behavior or is it a bug on ParseServer?

@gfosco gfosco added type:bug Impaired feature or lacking behavior that is likely assumed in-process labels Feb 10, 2016
@gfosco
Copy link
Contributor

gfosco commented Feb 10, 2016

This is a bug which will be fixed by #254.

@gfosco
Copy link
Contributor

gfosco commented Feb 11, 2016

Merged fix and this will be in 2.0.8.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:bug Impaired feature or lacking behavior that is likely assumed
Projects
None yet
Development

No branches or pull requests

2 participants