Skip to content

Commit

Permalink
email verified auth page reroute
Browse files Browse the repository at this point in the history
  • Loading branch information
singharaj-usai committed Oct 7, 2024
1 parent 68ab8b7 commit 68fc47f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions server/functions/api/routes/pages.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@ const sendHtmlFile = (res, relativePath) => {
// Authentication pages
router.get("/login", (req, res) => sendHtmlFile(res, "pages/authentication/login.html"));
router.get("/register", (req, res) => sendHtmlFile(res, "pages/authentication/register.html"));
router.get("/auth/verify-email/:token", (req, res) => sendHtmlFile(res, "pages/authentication/email-verified.html"));




// User-related pages
router.get("/users", (req, res) => sendHtmlFile(res, "pages/users/users.html"));
Expand Down

0 comments on commit 68fc47f

Please sign in to comment.