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

pull/8906/head
Oscar Zhou 2 years ago committed by GitHub
parent 9970fb3940
commit 550e235d59
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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

Loading…
Cancel
Save