feat(security): require setup token for admin init and restore [BE-13029] (#2770)
This commit is contained in:
@@ -35,6 +35,7 @@ type Handler struct {
|
||||
passwordStrengthChecker security.PasswordStrengthChecker
|
||||
AdminCreationDone chan<- struct{}
|
||||
FileService portainer.FileService
|
||||
SetupToken string
|
||||
}
|
||||
|
||||
// NewHandler creates a handler to manage user operations.
|
||||
|
||||
Reference in New Issue
Block a user