Document user class properties
This commit is contained in:
parent
dc58412e18
commit
8c452b9ded
|
@ -116,6 +116,12 @@ var options = {
|
|||
* - ALLOW EVERYONE `findById`
|
||||
* - ALLOW OWNER `updateAttributes`
|
||||
*
|
||||
* @property {String} username Must be unique
|
||||
* @property {String} password Hidden from remote clients
|
||||
* @property {String} email Must be valid email
|
||||
* @property {Boolean} emailVerified Set when a user's email has been verified via `confirm()`
|
||||
* @property {String} verificationToken Set when `verify()` is called
|
||||
*
|
||||
* @class
|
||||
* @inherits {Model}
|
||||
*/
|
||||
|
@ -169,7 +175,7 @@ User.login = function (credentials, include, fn) {
|
|||
}else {
|
||||
include = include.toLowerCase();
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
var query = {};
|
||||
|
|
Loading…
Reference in New Issue