diff --git a/common/models/user.js b/common/models/user.js index d6c958ab..09bdcb74 100644 --- a/common/models/user.js +++ b/common/models/user.js @@ -306,7 +306,9 @@ module.exports = function(User) { * Compare the given `password` with the users hashed password. * * @param {String} password The plain text password - * @returns {Boolean} + * @callback {Function} callback Callback function + * @param {Error} err Error object + * @param {Boolean} isMatch Returns true if the given `password` matches record */ User.prototype.hasPassword = function(plain, fn) {