mirror of
https://github.com/Awesome-Technologies/synapse-admin.git
synced 2025-07-21 13:04:31 +02:00
Remove possibility to change user password
Change-Id: I45fb8c0935a89906cd88d2bcc818942dd0a511ae
This commit is contained in:
parent
825c0be1bd
commit
1e60d2299a
@ -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" />
|
||||||
|
Loading…
x
Reference in New Issue
Block a user