mirror of
https://github.com/taobataoma/meanTorrent.git
synced 2026-06-08 15:20:54 +02: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.