mirror of
https://github.com/taobataoma/meanTorrent.git
synced 2026-01-19 22:02:24 +01:00
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.