Skip to content

Commit

Permalink
Fix: passwortrepeat removed in $ get /users
Browse files Browse the repository at this point in the history
  • Loading branch information
meip committed Nov 27, 2013
1 parent 4503b8a commit b7e56e5
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions server/controllers/user.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,7 @@ module.exports = {
var users = User.findAll();
_.each(users, function (user) {
delete user.password;
delete user.twitter;
delete user.facebook;
delete user.google;
delete user.linkedin;
delete user.passwordrepeat;
});
res.json(users);
}
Expand Down

0 comments on commit b7e56e5

Please sign in to comment.