Skip to content

Commit

Permalink
chore: log login api redirects
Browse files Browse the repository at this point in the history
  • Loading branch information
davidlougheed committed Jan 18, 2024
1 parent e7cc4f0 commit 73c9db4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions routes/auth.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ router.get("/login",
(req, res, next) => {
const returnTo = req.query.redirect;
if (returnTo) {
console.info(`/api/auth/login: redirecting to ${returnTo}`);
res.redirect(returnTo);
}
next();
Expand Down

0 comments on commit 73c9db4

Please sign in to comment.