Update login controller response.send

master
parent be4bd30fd2
commit 7b2a302452

@ -53,8 +53,7 @@ module.exports.loginUser = (request, response) => {
const token = auth.createAccessToken(result); const token = auth.createAccessToken(result);
// return response.send({accessToken: token}); return response.send({accessToken: token});
return response.send(true);
}else{ }else{
return response.send(false); return response.send(false);

Loading…
Cancel
Save