ichabodcole / Sails.js_ChatApp_v0.9.3

Updated version of the Nettuts+ SailsJs ChatApp Tutorial, for Sails v0.9.3
http://net.tutsplus.com/tutorials/javascript-ajax/working-with-data-in-sails-js/
43 stars 31 forks source link

Sending Users.password to the client-side by res.send(user) calls? #4

Open fselcukcan opened 9 years ago

fselcukcan commented 9 years ago

It seems the res.send(user) or res.send(usr) function calls send the user model on server side which includes the password to the client side. If not can you explain how?