Fix description for User.prototype.hasPassword

This commit is contained in:
Jue Hou 2016-01-11 14:28:10 -05:00 committed by jannyHou
parent 4480cd92ab
commit 8fe77b2a06
1 changed files with 3 additions and 1 deletions

View File

@ -306,7 +306,9 @@ module.exports = function(User) {
* Compare the given `password` with the users hashed password. * Compare the given `password` with the users hashed password.
* *
* @param {String} password The plain text 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) { User.prototype.hasPassword = function(plain, fn) {