Wizard: remove confirmPassword from Mapper

this commit remove confirmPassword from Mapper because we decide that
this field is not relevant anymore to Users step, and it should remove
from the mapper as well
This commit is contained in:
Michal Gold 2025-02-04 14:06:54 +02:00 committed by Klara Simickova
parent 7524bb1eef
commit 2c414fb089
2 changed files with 0 additions and 2 deletions

View file

@ -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,
})) || [],

View file

@ -906,7 +906,6 @@ export const wizardSlice = createSlice({
const newUser = {
name: '',
password: '',
confirmPassword: '',
ssh_key: '',
groups: [],
isAdministrator: false,