Quantcast
Viewing all articles
Browse latest Browse all 2663

Simple Password

Detected 1 occurrence(s) of ‘\s*pass[word]+\s*[:=]\s*[“‘][a-z0-9\-_\!\$]+[“‘]': var user = Waterline.Collection.extend({ attributes: { name: 'string', password: 'string', // Override toJSON instance method toJSON: function() { var obj = this.toObject(); delete obj.password; return obj; } } }); module.exports = user; User.find({ "first_name": "lahiru" }) Source: http://pastebin.com/raw.php?i=m8BuPjF5

Viewing all articles
Browse latest Browse all 2663

Trending Articles