-
-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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 not revoked when user password changes using Parse Dashboard #3289
Labels
type:question
Support or code-level question
Comments
same issue raised, i got the same problem. issue #3265 . |
@anashalb thanks for the info. I'll fix this behaviour which is not intended.
|
acinader
pushed a commit
that referenced
this issue
May 16, 2017
* Adds repro to issue #3289 * Always clear sessions when password is updated
Hey guys, do you think this issue will be resolved in the next Parse Server release? Keep up the good work! |
This has been merged and released, please re-open the issue if tis persists. |
mtrezza
added
type:question
Support or code-level question
and removed
🔧 troubleshooting
labels
Jul 11, 2021
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Session is not being revoked when the user's password is changed from Parse Dashboard.
Code Ref
I noticed that the condition being checked is:
if (this.query && !this.auth.isMaster)
, which means only non-Master authentication would allow sessions to be revoked. What about when master authentication is changing the user's password (e.g. Parse Dashboard)Steps to reproduce
Expected Results
According to the Parse Server defaults, the session is supposed to be revoked.
Actual Outcome
The session is not being revoked
Environment Setup
Server
Database
The text was updated successfully, but these errors were encountered: