mirror of
https://github.com/etkecc/synapse-admin.git
synced 2024-11-25 17:15:32 +03:00
Add session logout warning below password input (#212)
Co-authored-by: Michael Albert <37796947+awesome-michael@users.noreply.github.com>
This commit is contained in:
parent
f2526dc00e
commit
561daf7737
3 changed files with 7 additions and 1 deletions
|
@ -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…
Reference in a new issue