mirror of
https://github.com/zitadel/zitadel.git
synced 2025-04-30 10:50:49 +00:00

* feat: set cookie prefix and max age * cookie prefix on csrf cookie * fix: check user agent cookie in login * update oidc pkg * cleanup
15 lines
374 B
Go
15 lines
374 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, localDevMode bool) (*handler.Login, string) {
|
|
return handler.CreateLogin(config.Handler, authRepo, localDevMode)
|
|
}
|