diff --git a/api/controllers/user/account/login.js b/api/controllers/user/account/login.js index c0604a1..e4ef112 100644 --- a/api/controllers/user/account/login.js +++ b/api/controllers/user/account/login.js @@ -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, };