diff --git a/lib/models/user.js b/lib/models/user.js index 01f6f36f..f3bd91f2 100644 --- a/lib/models/user.js +++ b/lib/models/user.js @@ -251,6 +251,8 @@ User.confirm = function (uid, token, redirect, fn) { */ User.setup = function () { + // We need to call the base class's setup method + Model.setup.call(this); var UserModel = this; UserModel.setter.password = function (plain) {