mirror of
https://github.com/andwati/zitadel.git
synced 2026-11-18 19:25:13 +00:00
* fix: adaot config to commands (and queries) * remove dependency on vv2 in v1 * add queries user to operator * set password for queries on tests * set password for queries on tests * fix config
18 lines
645 B
Go
18 lines
645 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.Commands, query *query.Queries, authRepo *eventsourcing.EsRepository, systemdefaults systemdefaults.SystemDefaults, localDevMode bool) (*handler.Login, string) {
|
|
return handler.CreateLogin(config.Handler, command, query, authRepo, systemdefaults, localDevMode)
|
|
}
|