mirror of
https://github.com/zitadel/zitadel.git
synced 2025-04-30 18:40:53 +00:00
15 lines
362 B
Go
15 lines
362 B
Go
![]() |
package login
|
||
|
|
||
|
import (
|
||
|
"github.com/caos/zitadel/internal/auth/repository/eventsourcing"
|
||
|
"github.com/caos/zitadel/internal/ui/login/handler"
|
||
|
)
|
||
|
|
||
|
type Config struct {
|
||
|
Handler handler.Config
|
||
|
}
|
||
|
|
||
|
func Start(config Config, authRepo *eventsourcing.EsRepository, pathPrefix string) *handler.Login {
|
||
|
return handler.CreateLogin(config.Handler, authRepo, pathPrefix)
|
||
|
}
|