main
alex 2024-01-14 11:46:18 +01:00
parent 41b6810392
commit 7d092a01fd
1 changed files with 2 additions and 2 deletions

View File

@ -18,13 +18,13 @@ router.get(
"/auth/google/callback",
passport.authenticate("google", {
failureRedirect:
"https://customerdashboard.ex.umbach.dev/store/calendar/failed",
/* "https://customerdashboard.ex.umbach.dev/store/calendar/failed" */ "/login",
}),
function (req, res) {
// Successful authentication, redirect home.
console.log("req.user", req.user);
res.redirect(
"https://customerdashboard.ex.umbach.dev/store/calendar/finish"
/* "https://customerdashboard.ex.umbach.dev/store/calendar/finish" */ "/"
);
}
);