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

Session token revoked when I set the current user's password #25

Closed
stevenkang12 opened this issue Aug 16, 2015 · 1 comment
Closed

Comments

@stevenkang12
Copy link

When I change the current user's password:

[PFUser currentUser].password = @"new_password";
[[PFUser currentUser] saveInBackground];

My currentUser's session token is gone. I check the Parse database, and the session is indeed gone from the Session class.

@stevenkang12
Copy link
Author

Oh I am sorry. I actually had the "Revoke existing session tokens when user changes password" switch turned to "Yes" in the Parse settings page. There is no bug!

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