diff --git a/src/Components/CreateImageWizard/utilities/requestMapper.ts b/src/Components/CreateImageWizard/utilities/requestMapper.ts index 563b1f9e..7237487d 100644 --- a/src/Components/CreateImageWizard/utilities/requestMapper.ts +++ b/src/Components/CreateImageWizard/utilities/requestMapper.ts @@ -232,7 +232,6 @@ function commonRequestToState( name: user.name, password: '', // The image-builder API does not return the password. ssh_key: user.ssh_key || '', - confirmPassword: '', groups: user.groups || [], isAdministrator: user.groups?.includes('wheel') || false, })) || [], diff --git a/src/store/wizardSlice.ts b/src/store/wizardSlice.ts index 53f14b0e..9b471633 100644 --- a/src/store/wizardSlice.ts +++ b/src/store/wizardSlice.ts @@ -906,7 +906,6 @@ export const wizardSlice = createSlice({ const newUser = { name: '', password: '', - confirmPassword: '', ssh_key: '', groups: [], isAdministrator: false,