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:
parent
7524bb1eef
commit
2c414fb089
2 changed files with 0 additions and 2 deletions
|
|
@ -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,
|
||||
})) || [],
|
||||
|
|
|
|||
|
|
@ -906,7 +906,6 @@ export const wizardSlice = createSlice({
|
|||
const newUser = {
|
||||
name: '',
|
||||
password: '',
|
||||
confirmPassword: '',
|
||||
ssh_key: '',
|
||||
groups: [],
|
||||
isAdministrator: false,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue