Skip to content
This repository has been archived by the owner on Aug 30, 2021. It is now read-only.

[bug] Solves User model validation issue with tests [fixes #966] #967

Merged
merged 1 commit into from
Oct 10, 2015

Commits on Oct 5, 2015

  1. Solves User model validation bug

    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.
    mleanos committed Oct 5, 2015
    Configuration menu
    Copy the full SHA
    288f0b4 View commit details
    Browse the repository at this point in the history