mirror of
https://github.com/andwati/zitadel.git
synced 2026-11-25 13:58:46 +00:00
* fix: move eventstore pkgs * fix: move eventstore pkgs * fix: remove v2 view * fix: remove v2 view
18 lines
650 B
Go
18 lines
650 B
Go
package login
|
|
|
|
import (
|
|
"github.com/caos/zitadel/internal/auth/repository/eventsourcing"
|
|
"github.com/caos/zitadel/internal/command"
|
|
"github.com/caos/zitadel/internal/config/systemdefaults"
|
|
"github.com/caos/zitadel/internal/query"
|
|
"github.com/caos/zitadel/internal/ui/login/handler"
|
|
)
|
|
|
|
type Config struct {
|
|
Handler handler.Config
|
|
}
|
|
|
|
func Start(config Config, command *command.CommandSide, query *query.QuerySide, authRepo *eventsourcing.EsRepository, systemdefaults systemdefaults.SystemDefaults, localDevMode bool) (*handler.Login, string) {
|
|
return handler.CreateLogin(config.Handler, command, query, authRepo, systemdefaults, localDevMode)
|
|
}
|