12 | {t("accountNotLinkedDescription", { 13 | defaultValue: 14 | "A user with this email already exists. Please log in using the original method.", 15 | })} 16 |
17 | ); 18 | } 19 | 20 | return null; 21 | } 22 | -------------------------------------------------------------------------------- /apps/web/src/app/[locale]/(auth)/login/components/login-with-oidc.tsx: -------------------------------------------------------------------------------- 1 | "use client"; 2 | import { Button } from "@rallly/ui/button"; 3 | import { signIn } from "next-auth/react"; 4 | 5 | import { Trans } from "@/components/trans"; 6 | 7 | export function LoginWithOIDC({ 8 | name, 9 | redirectTo, 10 | }: { 11 | name: string; 12 | redirectTo?: string; 13 | }) { 14 | return ( 15 | 30 | ); 31 | } 32 | -------------------------------------------------------------------------------- /apps/web/src/app/[locale]/(auth)/login/components/or-divider.tsx: -------------------------------------------------------------------------------- 1 | import { getTranslation } from "@/i18n/server"; 2 | 3 | export async function OrDivider() { 4 | const { t } = await getTranslation(); 5 | return ( 6 |