Skip to content

Commit

Permalink
putting back the next
Browse files Browse the repository at this point in the history
  • Loading branch information
Baalmart committed Feb 25, 2025
1 parent 20e7d5b commit 69aea2b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/auth-service/middleware/passport.js
Original file line number Diff line number Diff line change
Expand Up @@ -453,7 +453,7 @@ const useGoogleStrategy = (tenant, req, res, next) =>
}
);
cb(null, user);
//return next();
return next();
} else {
// profilePicture: profile._json.picture,
const responseFromRegisterUser = await UserModel(tenant).register(
Expand Down Expand Up @@ -518,7 +518,7 @@ const useGoogleStrategy = (tenant, req, res, next) =>
}
cb(null, user);

// return next();
return next();
}
}
} catch (error) {
Expand Down

0 comments on commit 69aea2b

Please sign in to comment.