1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-07-22 06:49:40 +02:00

fix(restore/swarm): init primary endpoint after admin user is created (#8854)

This commit is contained in:
Oscar Zhou 2023-05-04 09:44:11 +12:00 committed by GitHub
parent 1963d064a3
commit 19eceaf37f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 222 additions and 152 deletions

View file

@ -37,6 +37,7 @@ type Handler struct {
DataStore dataservices.DataStore
CryptoService portainer.CryptoService
passwordStrengthChecker security.PasswordStrengthChecker
AdminCreationDone chan<- struct{}
}
// NewHandler creates a handler to manage user operations.