Skip to content
Snippets Groups Projects
Commit 0538271b authored by Richard Fernando Heise Ferreira's avatar Richard Fernando Heise Ferreira Committed by Stephanie Briere Americo
Browse files

Issue #71: Fix signIn now returns user ID

parent 79f55548
No related branches found
No related tags found
No related merge requests found
......@@ -133,7 +133,8 @@ export class UserCtrl {
}
res.json({
message: "Authentication successful.",
token: encoded
token: encoded,
id: user.id
});
callback(null);
})
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment