migration

This commit is contained in:
Zeni Kim 2024-09-15 19:19:30 -05:00
parent 35d26e5868
commit a756cd418d
6 changed files with 14 additions and 32 deletions

View file

@ -8,7 +8,7 @@ package main
import (
"git.smarteching.com/goffee/core"
"git.smarteching.com/goffee/cup/controllers"
"git.smarteching.com/goffee/cup/middlewares"
"git.smarteching.com/goffee/cup/hooks"
)
// Register the app controllers
@ -26,5 +26,5 @@ func registerRoutes() {
// controller.Post("/signout", controllers.Signout)
// controller.Post("/reset-password", controllers.ResetPasswordRequest)
// controller.Post("/reset-password/code/:code", controllers.SetNewPassword)
controller.Get("/dashboard", controllers.WelcomeToDashboard, middlewares.AuthCheck)
controller.Get("/dashboard", controllers.WelcomeToDashboard, hooks.AuthCheck)
}