Add session logout warning below password input

This commit is contained in:
rom4nik 2021-11-27 01:20:48 +01:00 committed by Przemek
parent abc9d5154e
commit b7d8009109
3 changed files with 7 additions and 1 deletions

View File

@ -317,7 +317,11 @@ export const UserEdit = props => {
/>
<TextInput source="id" disabled />
<TextInput source="displayname" />
<PasswordInput source="password" autoComplete="new-password" />
<PasswordInput
source="password"
autoComplete="new-password"
helperText="resources.users.helper.password"
/>
<BooleanInput source="admin" />
<BooleanInput
source="deactivated"

View File

@ -123,6 +123,7 @@ const de = {
auth_provider: "Provider",
},
helper: {
password: "Durch die Änderung des Passworts wird der Benutzer von allen Sitzungen abgemeldet.",
deactivate:
"Sie müssen ein Passwort angeben, um ein Konto wieder zu aktivieren.",
erase: "DSGVO konformes Löschen der Benutzerdaten",

View File

@ -122,6 +122,7 @@ const en = {
auth_provider: "Provider",
},
helper: {
password: "Changing password will log user out of all sessions.",
deactivate: "You must provide a password to re-activate an account.",
erase: "Mark the user as GDPR-erased",
},