Skip to content

Commit

Permalink
Additional fields in login endpoint for Rich
Browse files Browse the repository at this point in the history
  • Loading branch information
ashtarcommunications committed Nov 18, 2024
1 parent 4671e50 commit b141df7
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions api/controllers/user/account/login.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,11 @@ const login = {
// Check account reputation - default to untrusted
const response = {
person_id : person.id,
first : person.first,
last : person.last,
name : `${person.first} ${person.last}`,
email : req.body.username,
phone : person.phone,
trusted : false,
};

Expand Down

0 comments on commit b141df7

Please sign in to comment.