diff --git a/features/admin.users.v1/components/user-profile.tsx b/features/admin.users.v1/components/user-profile.tsx index d39ce38a6a1..737ed3f4708 100644 --- a/features/admin.users.v1/components/user-profile.tsx +++ b/features/admin.users.v1/components/user-profile.tsx @@ -1132,9 +1132,7 @@ export const UserProfile: FunctionComponent = ( onActionClick={ (): void => { setOpenChangePasswordModal(true); } } - isButtonDisabled={ accountLocked - ? accountLocked - : user[ userConfig.userProfileSchema ]?.accountLocked } + isButtonDisabled={ accountLocked } buttonDisableHint={ t("user:editUser." + "dangerZoneGroup.passwordResetZone.buttonHint") } />