braitsch/node-login — pull request #24 by Malgin (2013-07-05 16:04:09+00:00)
Title: Fix update account issue

When you try to update account info, callback, defined in app/server/router.js:62, overwrites session.user object with undefined, as, according to [Save](http://mongodb.github.io/node-mongodb-native/markdown-docs/insert.html#save) mongodb documentaion, when updating second parameter, passed to callback, is 1.
This pull-request fixes this issue.