mirror of
https://github.com/sonr-io/sonr.git
synced 2026-08-03 18:01:39 +00:00
19 lines
342 B
Go
19 lines
342 B
Go
package auth
|
|||
|
|
|
||
|
|
import (
|
||
|
|
"github.com/labstack/echo/v4"
|
||
|
|
"github.com/onsonr/sonr/internal/ctx"
|
||
|
|
)
|
||
|
|
|
||
|
|
func AuthorizeRoute(c echo.Context) error {
|
||
|
|
return ctx.RenderTempl(c, Modal(c))
|
||
|
|
}
|
||
|
|
|
||
|
|
func LoginRoute(c echo.Context) error {
|
||
|
|
return ctx.RenderTempl(c, Modal(c))
|
||
|
|
}
|
||
|
|
|
||
|
|
func RegisterRoute(c echo.Context) error {
|
||
|
|
return ctx.RenderTempl(c, Modal(c))
|
||
|
|
}
|