bug fix for login via google
This commit is contained in:
parent
adb005ae33
commit
b3dcec17c0
3 changed files with 6 additions and 5 deletions
|
|
@ -73,7 +73,7 @@ router.post(
|
|||
|
||||
console.log('is authenticated?: ' + req.isAuthenticated());
|
||||
|
||||
return res.json({
|
||||
return res.status(200).json({
|
||||
success: true,
|
||||
message: 'Successful Login',
|
||||
user: req.user
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue