fix: Update login redirect path in OAuth authorization page

- Change redirect path from "/login" to "/sign-in" for consistent authentication routing
This commit is contained in:
wood chen 2025-02-21 12:39:03 +08:00
parent 760bbdbafd
commit b5c3d84ec5

View File

@ -20,7 +20,7 @@ export default async function AuthorizePage({
}) { }) {
const user = await getCurrentUser(); const user = await getCurrentUser();
if (!user?.id) { if (!user?.id) {
redirect("/login"); redirect("/sign-in");
} }
// 验证必要的参数 // 验证必要的参数