Remove possibility to change user password

Change-Id: I45fb8c0935a89906cd88d2bcc818942dd0a511ae
This commit is contained in:
Manuel Stahl 2024-08-23 09:33:09 +02:00
parent 825c0be1bd
commit 1e60d2299a

View File

@ -23,7 +23,6 @@ import {
FormTab, FormTab,
BooleanField, BooleanField,
BooleanInput, BooleanInput,
PasswordInput,
TextField, TextField,
TextInput, TextInput,
ReferenceField, ReferenceField,
@ -143,7 +142,6 @@ export const UserEdit = (props: EditProps) => {
<AvatarField source="avatar_src" sortable={false} sx={{ height: "120px", width: "120px", float: "right" }} /> <AvatarField source="avatar_src" sortable={false} sx={{ height: "120px", width: "120px", float: "right" }} />
<TextInput source="id" disabled /> <TextInput source="id" disabled />
<TextInput source="displayname" /> <TextInput source="displayname" />
<PasswordInput source="password" autoComplete="new-password" helperText="resources.users.helper.password" />
<SelectInput source="user_type" choices={choices_type} translateChoice={false} resettable /> <SelectInput source="user_type" choices={choices_type} translateChoice={false} resettable />
<BooleanInput source="admin" /> <BooleanInput source="admin" />
<BooleanInput source="locked" /> <BooleanInput source="locked" />