mirror of
https://github.com/woodchen-ink/Q58Connect.git
synced 2025-07-18 14:01:55 +08:00
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:
parent
760bbdbafd
commit
b5c3d84ec5
@ -20,7 +20,7 @@ export default async function AuthorizePage({
|
||||
}) {
|
||||
const user = await getCurrentUser();
|
||||
if (!user?.id) {
|
||||
redirect("/login");
|
||||
redirect("/sign-in");
|
||||
}
|
||||
|
||||
// 验证必要的参数
|
||||
|
Loading…
x
Reference in New Issue
Block a user