Die Folgeninstanzmethode ist keine Funktion
// starting with Sequelize 4.0 and above, you have to use the prototype methodology in order to define instance methods
User.prototype.validPassword = function(password) {
return bcrypt.compareSync(password, this.password);
};
Scary Shark