mirror of
				https://github.com/UA-Fediland/synapse-admin.git
				synced 2025-10-31 03:18:27 +00: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="id" disabled /> | ||||||
|           <TextInput source="displayname" /> |           <TextInput source="displayname" /> | ||||||
|           <PasswordInput source="password" autoComplete="new-password" /> |           <PasswordInput | ||||||
|  |             source="password" | ||||||
|  |             autoComplete="new-password" | ||||||
|  |             helperText="resources.users.helper.password" | ||||||
|  |           /> | ||||||
|           <SelectInput |           <SelectInput | ||||||
|             source="user_type" |             source="user_type" | ||||||
|             choices={choices_type} |             choices={choices_type} | ||||||
|  |  | ||||||
|  | @ -124,6 +124,7 @@ const de = { | ||||||
|         user_type: "Benutzertyp", |         user_type: "Benutzertyp", | ||||||
|       }, |       }, | ||||||
|       helper: { |       helper: { | ||||||
|  |         password: "Durch die Änderung des Passworts wird der Benutzer von allen Sitzungen abgemeldet.", | ||||||
|         deactivate: |         deactivate: | ||||||
|           "Sie müssen ein Passwort angeben, um ein Konto wieder zu aktivieren.", |           "Sie müssen ein Passwort angeben, um ein Konto wieder zu aktivieren.", | ||||||
|         erase: "DSGVO konformes Löschen der Benutzerdaten", |         erase: "DSGVO konformes Löschen der Benutzerdaten", | ||||||
|  |  | ||||||
|  | @ -123,6 +123,7 @@ const en = { | ||||||
|         user_type: "User type", |         user_type: "User type", | ||||||
|       }, |       }, | ||||||
|       helper: { |       helper: { | ||||||
|  |         password: "Changing password will log user out of all sessions.", | ||||||
|         deactivate: "You must provide a password to re-activate an account.", |         deactivate: "You must provide a password to re-activate an account.", | ||||||
|         erase: "Mark the user as GDPR-erased", |         erase: "Mark the user as GDPR-erased", | ||||||
|       }, |       }, | ||||||
|  |  | ||||||
		Loading…
	
		Reference in a new issue