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.
This solves the issue of the User model's pre('validate') method, attempting to validate against a password that was not modified. Adds the this.isModified('password') check to the condition.
- Loading branch information