This repository has been archived by the owner on Aug 30, 2021. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(users): fix for users.profile.server.controller.js security (#1338)
* Fix for users.profile.server.controller.js security (#1338) Fixes an issue where if req.body._id was not set to the current user it could potentially log the current user in as another user. Don't use req.body._id when editing user Prevents a user from being logged in as another if edit user form _id is not their own. Fixes #1338
- Loading branch information