mirror of
https://github.com/sonr-io/sonr.git
synced 2026-08-03 18:01:39 +00:00
(no commit message provided)
This commit is contained in:
@@ -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)
|
||||
}
|
||||
Reference in New Issue
Block a user