aboutsummaryrefslogtreecommitdiff
path: root/router
diff options
context:
space:
mode:
authorBobby <[email protected]>2025-07-13 14:55:23 +0530
committerBobby <[email protected]>2025-07-13 14:55:23 +0530
commitcfdcbc452064854140bb572dea154d3f5c2f857b (patch)
tree03ab1319a8891c3f5ec7f692cf0655f5c624b688 /router
parent3d7f8602d45583f25e2428bf6f8123453646dc08 (diff)
downloadimageboard-cfdcbc452064854140bb572dea154d3f5c2f857b.tar.xz
imageboard-cfdcbc452064854140bb572dea154d3f5c2f857b.zip
account verification and login flow
Diffstat (limited to 'router')
-rw-r--r--router/routes.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/router/routes.go b/router/routes.go
index c522599..91665df 100644
--- a/router/routes.go
+++ b/router/routes.go
@@ -24,6 +24,9 @@ func Initialize(router *fiber.App) {
register.Get("/", controllers.RegisterPageController)
register.Post("/", controllers.RegisterPostController)
+ account := router.Group("/account")
+ account.Get("/verify", controllers.VerifyEmailController)
+
preferences := router.Group("/preferences")
preferences.Get("/", controllers.PreferencesPageController)