Skip to content
This repository has been archived by the owner on Dec 9, 2024. It is now read-only.

Commit

Permalink
Merge pull request #872 from B77Mills/revertCreateUserChange
Browse files Browse the repository at this point in the history
Limit user values being returned on loginLinkSend response
  • Loading branch information
solocommand authored Feb 16, 2024
2 parents 2695918 + 77f014d commit efa29a0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/marko-web-identity-x/routes/login.js
Original file line number Diff line number Diff line change
Expand Up @@ -81,5 +81,6 @@ module.exports = asyncRoute(async (req, res) => {
redirectTo,
additionalEventData,
});
return res.json({ ok: true, additionalEventData, appUser });
const returnedAppUser = { id: appUser.id, email: appUser.email };
return res.json({ ok: true, additionalEventData, appUser: returnedAppUser });
});

0 comments on commit efa29a0

Please sign in to comment.