fix(core): remove OAuth check from handleFallback and clean up stray file (#21962)

This commit is contained in:
Sehoon Shon
2026-03-11 00:56:06 -04:00
committed by GitHub
parent 075e0b1a81
commit e54c450bc1
3 changed files with 0 additions and 81 deletions
-5
View File
@@ -5,7 +5,6 @@
*/
import type { Config } from '../config/config.js';
import { AuthType } from '../core/contentGenerator.js';
import {
openBrowserSecurely,
shouldLaunchBrowser,
@@ -29,10 +28,6 @@ export async function handleFallback(
authType?: string,
error?: unknown,
): Promise<string | boolean | null> {
if (authType !== AuthType.LOGIN_WITH_GOOGLE) {
return null;
}
const chain = resolvePolicyChain(config);
const { failedPolicy, candidates } = buildFallbackPolicyContext(
chain,