diff --git a/server/controllers/user.controller.js b/server/controllers/user.controller.js index 662baae3..00f3f022 100644 --- a/server/controllers/user.controller.js +++ b/server/controllers/user.controller.js @@ -292,7 +292,13 @@ export function saveUser(res, user) { return; } - res.json(user); + res.json({ + email: user.email, + username: user.username, + preferences: user.preferences, + verified: user.verified, + id: user._id + }); }); }