Skip to content

Commit

Permalink
add cb import in passeport strategy (#399)
Browse files Browse the repository at this point in the history
  • Loading branch information
hichri-louay authored Jan 18, 2024
2 parents 5d3361d + 4d064ed commit 6b21c39
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion routes/login.routes.js
Original file line number Diff line number Diff line change
Expand Up @@ -591,7 +591,7 @@ passport.use(
new GoogleStrategy(
googleCredentials('auth/callback/google/connection'),
async (req, accessToken, refreshToken, profile, cb) => {
googleAuthSignin(profile, cb)
googleAuthSignin(req,profile, cb)
}
)
)
Expand Down

0 comments on commit 6b21c39

Please sign in to comment.