diff --git a/webapp/packages/plugin-authentication/src/Administration/Users/UserForm/UserFormController.ts b/webapp/packages/plugin-authentication/src/Administration/Users/UserForm/UserFormController.ts index 6a8f44515b..3cb7d1d60a 100644 --- a/webapp/packages/plugin-authentication/src/Administration/Users/UserForm/UserFormController.ts +++ b/webapp/packages/plugin-authentication/src/Administration/Users/UserForm/UserFormController.ts @@ -48,6 +48,7 @@ export class UserFormController implements IInitializableController, IDestructib } user!: AdminUserInfo; + editing!: boolean; readonly error: GQLErrorCatcher; @@ -55,7 +56,6 @@ export class UserFormController implements IInitializableController, IDestructib private connectionAccessChanged: boolean; private connectionAccessLoaded: boolean; private collapse!: () => void; - private editing!: boolean; constructor( private notificationService: NotificationService, diff --git a/webapp/packages/plugin-authentication/src/Administration/Users/UserForm/UserInfo.tsx b/webapp/packages/plugin-authentication/src/Administration/Users/UserForm/UserInfo.tsx index 165e1c3f80..076e9e6695 100644 --- a/webapp/packages/plugin-authentication/src/Administration/Users/UserForm/UserInfo.tsx +++ b/webapp/packages/plugin-authentication/src/Administration/Users/UserForm/UserInfo.tsx @@ -64,6 +64,7 @@ export const UserInfo: TabContainerPanelComponent = observer(fun type='password' name='password' autoComplete='new-password' + placeholder={controller.editing ? '••••••' : ''} value={controller.credentials.password} disabled={controller.isSaving} mod='surface' @@ -77,6 +78,7 @@ export const UserInfo: TabContainerPanelComponent = observer(fun