Update login controller response.send

master
parent 040dbf8dd4
commit be4bd30fd2

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

Loading…
Cancel
Save