Skip to content

Commit

Permalink
Test fix for auth.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
cory2067 committed Mar 19, 2022
1 parent 81a7257 commit 0b24a00
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/auth.ts
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ passport.deserializeUser(async (id, done) => {

router.get("/login", (req, res) => passport.authenticate(getStrategy(req))(req, res));

router.get("/logout", (req, res) => {
router.get("/logout", (req: any, res) => {
req.logout();
res.redirect("/");
});
Expand Down

0 comments on commit 0b24a00

Please sign in to comment.