Detected 1 occurrence(s) of ‘\s*pass[word]+\s*[:=]\s*["'][a-z0-9\-_\!\$]+["']‘: rue, lowercase: true, index: true, unique: true, required: true }, password: String, clients: [Schema.Types.ObjectId] }); { first_name: 'Zack', last_name: 'S', email: 'zack@movementstrategy.com', password: 'test', clients: [ '50f5e901545cf990c500000f', '50f5e90b545cf990c5000010' ] } // if clients was passed with associated client ids if (data.clients.length > 0) { _.map(data.clients, function(cid) { // push client […]
↧