Skip to content
Snippets Groups Projects
Commit 6581de00 authored by Federico Hurtado's avatar Federico Hurtado
Browse files

Move console.log statement to correct spot.

parent 1b1ddda0
No related branches found
No related tags found
No related merge requests found
......@@ -12,8 +12,6 @@ const casLogin = function (req, res, next) {
return next(err);
}
console.log("Completed authentication.");
// redirect to a /check page if the user is not found
if (!user) {
// TODO: figure this out
......@@ -31,6 +29,7 @@ const casLogin = function (req, res, next) {
return next(err);
}
console.log("Successfully authenticated.");
req.session.messages = "";
return res.redirect("/");
});
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment