Add session logout warning below password input (#212)

Co-authored-by: Michael Albert <37796947+awesome-michael@users.noreply.github.com>
pull/311/head
Przemysław Romanik 2 years ago committed by GitHub
parent f2526dc00e
commit 561daf7737
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -358,7 +358,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"
/>
<SelectInput
source="user_type"
choices={choices_type}

@ -124,6 +124,7 @@ const de = {
user_type: "Benutzertyp",
},
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",

@ -123,6 +123,7 @@ const en = {
user_type: "User type",
},
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",
},

Loading…
Cancel
Save