Fix the jsdoc for User.login
This commit is contained in:
parent
e1b5d1edae
commit
842d9b0bcd
|
@ -117,10 +117,12 @@ User.normalizeCredentials = function(credentials, realmRequired, realmDelimiter)
|
||||||
* });
|
* });
|
||||||
* ```
|
* ```
|
||||||
*
|
*
|
||||||
* @param {Object} credentials
|
* @param {Object} credentials username/password or email/password
|
||||||
* @callback {Function} callback
|
* @param {String[]|String} [include] Optionally set it to "user" to include
|
||||||
* @param {Error} err
|
* the user info
|
||||||
* @param {AccessToken} token
|
* @callback {Function} callback Callback function
|
||||||
|
* @param {Error} err Error object
|
||||||
|
* @param {AccessToken} token Access token if login is successful
|
||||||
*/
|
*/
|
||||||
|
|
||||||
User.login = function(credentials, include, fn) {
|
User.login = function(credentials, include, fn) {
|
||||||
|
|
Loading…
Reference in New Issue