2024-10-10 13:44:17 -04:00
|
|
|
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))
|
2024-10-10 13:44:17 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func LoginRoute(c echo.Context) error {
|
2024-10-11 16:47:52 -04:00
|
|
|
return ctx.RenderTempl(c, LoginModal(c))
|
2024-10-10 13:44:17 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func RegisterRoute(c echo.Context) error {
|
2024-10-11 16:47:52 -04:00
|
|
|
return ctx.RenderTempl(c, RegisterModal(c))
|
2024-10-10 13:44:17 -04:00
|
|
|
}
|