From b5c3d84ec5abb0c50ad9f554e31b1d45cafceb64 Mon Sep 17 00:00:00 2001 From: wood chen Date: Fri, 21 Feb 2025 12:39:03 +0800 Subject: [PATCH] fix: Update login redirect path in OAuth authorization page - Change redirect path from "/login" to "/sign-in" for consistent authentication routing --- src/app/(oauth)/oauth/authorize/page.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/(oauth)/oauth/authorize/page.tsx b/src/app/(oauth)/oauth/authorize/page.tsx index 8fec27f..7f9b6f7 100644 --- a/src/app/(oauth)/oauth/authorize/page.tsx +++ b/src/app/(oauth)/oauth/authorize/page.tsx @@ -20,7 +20,7 @@ export default async function AuthorizePage({ }) { const user = await getCurrentUser(); if (!user?.id) { - redirect("/login"); + redirect("/sign-in"); } // 验证必要的参数