mirror of
https://github.com/sonr-io/sonr.git
synced 2026-08-03 01:41:44 +00:00
16 lines
337 B
Go
16 lines
337 B
Go
package handlers
|
|
|
|
import (
|
|
pages "github.com/onsonr/hway/pkg/vault/components"
|
|
"github.com/onsonr/hway/pkg/vault/middleware"
|
|
"github.com/labstack/echo/v4"
|
|
)
|
|
|
|
var Login = loginHandler{}
|
|
|
|
type loginHandler struct{}
|
|
|
|
func (h loginHandler) Page(e echo.Context) error {
|
|
return middleware.Render(e, pages.Login(middleware.SessionID(e)))
|
|
}
|