-
-
Notifications
You must be signed in to change notification settings - Fork 4.8k
Closed
Labels
type:questionSupport or code-level questionSupport or code-level question
Description
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
- Create a user in dashboard.
- Login the user using a rest call, which generates a session for the user.
- Go to dashboard and change the user's password.
- Observe that the Session for that user is not revoked.
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
- parse-server version (Be specific! Don't say 'latest'.) : 2.2.24
- Operating System: MacOS
- Hardware:
- Localhost or remote server? Localhost
-
Database
- MongoDB version: v3.2.1
- Storage engine: WiredTiger
- Localhost or remote server? Localhost
Metadata
Metadata
Assignees
Labels
type:questionSupport or code-level questionSupport or code-level question