(no commit message provided)

This commit is contained in:
Prad Nukala
2024-07-05 22:20:13 -04:00
committed by Prad Nukala (aider)
commit 5fd43dfd6b
457 changed files with 115535 additions and 0 deletions
+20
View File
@@ -0,0 +1,20 @@
package routes
import (
"github.com/onsonr/hway/pkg/vault/handlers"
"github.com/labstack/echo/v4"
)
func RegisterAPI(e *echo.Echo) {
e.GET("/api/register/{handle}/start", handlers.Register.Start)
e.POST("/api/register/finish", handlers.Register.Finish)
}
func RegisterOpenIDProvider(e *echo.Echo) {
}
func RegisterPages(e *echo.Echo) {
e.GET("/", handlers.Session.Page)
e.GET("/login", handlers.Login.Page)
e.GET("/register", handlers.Register.FormPage)
}