From 8132ae7f97caf410bd9be34dafb8f7fda6db58a7 Mon Sep 17 00:00:00 2001
From: Charles Zhao <charleszhao@silverhand.io>
Date: Thu, 30 Mar 2023 10:37:12 +0800
Subject: [PATCH] fix(console): temp disable link account feature in open
 source version (#3638)

---
 packages/console/src/pages/Profile/index.tsx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/packages/console/src/pages/Profile/index.tsx b/packages/console/src/pages/Profile/index.tsx
index 28a0b1be4..182b4305b 100644
--- a/packages/console/src/pages/Profile/index.tsx
+++ b/packages/console/src/pages/Profile/index.tsx
@@ -52,7 +52,7 @@ function Profile() {
       {user && !showLoadingSkeleton && (
         <div className={styles.content}>
           <BasicUserInfoSection user={user} onUpdate={reload} />
-          <LinkAccountSection user={user} connectors={connectors} onUpdate={reload} />
+          {isCloud && <LinkAccountSection user={user} connectors={connectors} onUpdate={reload} />}
           <FormCard title="profile.password.title">
             <CardContent
               title="profile.password.password_setting"