fix(admin): infinite loop when initializaing admin user (#8905)

pull/8906/head
Oscar Zhou 2023-05-05 11:45:03 +12:00 committed by GitHub
parent 9970fb3940
commit 550e235d59
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -272,6 +272,7 @@ func (server *Server) Start() error {
var userHandler = users.NewHandler(requestBouncer, rateLimiter, server.APIKeyService, server.DemoService, passwordStrengthChecker)
userHandler.DataStore = server.DataStore
userHandler.CryptoService = server.CryptoService
userHandler.AdminCreationDone = server.AdminCreationDone
var websocketHandler = websocket.NewHandler(server.KubernetesTokenCacheManager, requestBouncer)
websocketHandler.DataStore = server.DataStore