fix: 修复初次登陆的校验问题

This commit is contained in:
claude-code-best
2026-04-10 22:04:37 +08:00
parent b681139b63
commit 8137b66a46
2 changed files with 9 additions and 94 deletions

View File

@@ -148,9 +148,10 @@ export function Onboarding({ onDone }: Props): React.ReactNode {
}
const steps: OnboardingStep[] = []
if (oauthEnabled) {
steps.push({ id: 'preflight', component: preflightStep })
}
// Preflight check disabled — users may use third-party API providers
// if (oauthEnabled) {
// steps.push({ id: 'preflight', component: preflightStep })
// }
steps.push({ id: 'theme', component: themeStep })
if (apiKeyNeedingApproval) {