feat: allow link to social provider with different email (#3355)

This commit is contained in:
Stephen Zhou 2025-03-30 12:52:34 +08:00 committed by GitHub
parent 0a1f9c4216
commit ea758ca2b2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
10 changed files with 1 additions and 10 deletions

View File

@ -309,7 +309,6 @@
"profile.handle.description": "Your unique identifier.",
"profile.handle.label": "Handle",
"profile.link_social.authentication": "Authentication",
"profile.link_social.description": "You can currently only connect social accounts with the same email.",
"profile.link_social.link": "Link",
"profile.link_social.unlink.success": "Social account unlinked.",
"profile.name.description": "Your public display name.",

View File

@ -277,7 +277,6 @@
"profile.handle.description": "あなた個人の識別子です",
"profile.handle.label": "ハンドル",
"profile.link_social.authentication": "認証",
"profile.link_social.description": "現在同じメールを使用しているソーシャルアカウントがか接続できます。",
"profile.link_social.link": "リンク",
"profile.link_social.unlink.success": "ソーシャルアカウントのリンクを解除しました。",
"profile.name.description": "公開表示名",

View File

@ -282,7 +282,6 @@
"profile.handle.description": "고유 식별자.",
"profile.handle.label": "핸들",
"profile.link_social.authentication": "인증",
"profile.link_social.description": "현재는 동일한 이메일을 가진 소셜 계정만 연결할 수 있습니다.",
"profile.link_social.link": "연결",
"profile.link_social.unlink.success": "소셜 계정 연결이 해제되었습니다.",
"profile.name.description": "공개 표시 이름.",

View File

@ -276,7 +276,6 @@
"profile.handle.description": "Ваш уникальный идентификатор.",
"profile.handle.label": "Идентификатор",
"profile.link_social.authentication": "Аутентификация",
"profile.link_social.description": "Вы можете подключить социальные аккаунты только с тем же email.",
"profile.link_social.link": "Подключить",
"profile.link_social.unlink.success": "Социальный аккаунт отсоединен.",
"profile.name.description": "Ваше публичное отображаемое имя.",

View File

@ -300,7 +300,6 @@
"profile.handle.description": "你的唯一标识。",
"profile.handle.label": "唯一标识",
"profile.link_social.authentication": "身份验证",
"profile.link_social.description": "目前只能连接具有相同邮件地址的社交帐户。",
"profile.link_social.link": "连接",
"profile.link_social.unlink.success": "已解除社交账户连接。",
"profile.name.description": "你的公开显示名称。",

View File

@ -297,7 +297,6 @@
"profile.handle.description": "你的唯一識別符",
"profile.handle.label": "識別符",
"profile.link_social.authentication": "身份驗證",
"profile.link_social.description": "目前只能連結使用相同電子郵件的社交帳戶",
"profile.link_social.link": "連結",
"profile.link_social.unlink.success": "社交帳戶已解除連結",
"profile.name.description": "你的公開顯示名稱",

View File

@ -282,7 +282,6 @@
"profile.handle.description": "你的獨一無二名稱。",
"profile.handle.label": "名稱",
"profile.link_social.authentication": "驗證",
"profile.link_social.description": "您目前只能連結具有相同電子信箱的社群帳號。",
"profile.link_social.link": "連結",
"profile.link_social.unlink.success": "已中斷社群帳號連結。",
"profile.name.description": "你的公開顯示名稱。",

View File

@ -74,7 +74,6 @@ export function AccountManagement() {
<AuthProviderButton key={provider} provider={provider} />
))}
</div>
<p className="text-muted-foreground text-xs">{t("profile.link_social.description")}</p>
</div>
)
}

View File

@ -14,7 +14,6 @@ import {
GroupedInsetListNavigationLink,
GroupedInsetListNavigationLinkIcon,
GroupedInsetListSectionHeader,
GroupedOutlineDescription,
GroupedPlainButtonCell,
} from "@/src/components/ui/grouped/GroupedList"
import { getDbPath } from "@/src/database"
@ -227,7 +226,6 @@ const AuthenticationSection = () => {
</View>
) : null}
</GroupedInsetListCard>
<GroupedOutlineDescription description="You can currently only connect social accounts with the same email." />
</>
)
}

View File

@ -12442,6 +12442,7 @@ declare const auth: {
accountLinking: {
enabled: true;
trustedProviders: ("github" | "apple" | "google")[];
allowDifferentEmails: true;
};
};
socialProviders: {