feat : update

This commit is contained in:
2026-10-05 18:47:41 +07:00 Unverified
parent d44a2597ba
commit 2f1fe0ab76
14 changed files with 311 additions and 38 deletions
+3 -2
View File
@@ -5,7 +5,8 @@ export const instant = false;
export default async function LoginPage({ searchParams }: PageProps<"/auth/login">) {
await connection();
const { next, verified, error } = await searchParams;
const { next, verified, error, sudloh } = await searchParams;
const oidcError = sudloh === "1" && typeof error === "string" ? error : undefined;
return <AccountPage mode="login" next={next} verified={verified === "1" && !error}
verificationError={typeof error === "string"} />;
verificationError={typeof error === "string" && !oidcError} oidcError={oidcError} />;
}