Skip to content

🤯 LobeHub - Super-Agents on Your Team. Add super-agents to the chats your team already uses.They take on work by themselves and get better every week.

🐛 fix: better-auth add apple sso icon and label (#10570)

YuTengjing17facd5e63b9
diff --git a/src/components/NextAuth/AuthIcons.tsx b/src/components/NextAuth/AuthIcons.tsx
index 0695700e908..40936d9ea19 100644
--- a/src/components/NextAuth/AuthIcons.tsx
+++ b/src/components/NextAuth/AuthIcons.tsx
@@ -11,9 +11,11 @@ import {
NextAuth,
Zitadel,
} from '@lobehub/ui/icons';
+import { Apple } from 'lucide-react';
import React from 'react';
const iconComponents: { [key: string]: React.ElementType } = {
+ 'apple': Apple,
'auth0': Auth0,
'authelia': Authelia.Color,
'authentik': Authentik.Color,
diff --git a/src/locales/default/auth.ts b/src/locales/default/auth.ts
index 52be2c47141..0ecd83f881d 100644
--- a/src/locales/default/auth.ts
+++ b/src/locales/default/auth.ts
@@ -82,6 +82,7 @@ export default {
},
signin: {
backToEmail: '返回修改邮箱',
+ continueWithApple: '使用 Apple 登录',
continueWithAuth0: '使用 Auth0 登录',
continueWithAuthelia: '使用 Authelia 登录',
continueWithAuthentik: '使用 Authentik 登录',