Files
sonr/pkg/nebula/components/auth/route.go
T

19 lines
364 B
Go
Raw Normal View History

package auth
import (
"github.com/labstack/echo/v4"
"github.com/onsonr/sonr/internal/ctx"
)
func AuthorizeRoute(c echo.Context) error {
2024-10-11 16:47:52 -04:00
return ctx.RenderTempl(c, AuthorizeModal(c))
}
func LoginRoute(c echo.Context) error {
2024-10-11 16:47:52 -04:00
return ctx.RenderTempl(c, LoginModal(c))
}
func RegisterRoute(c echo.Context) error {
2024-10-11 16:47:52 -04:00
return ctx.RenderTempl(c, RegisterModal(c))
}