diff --git a/src/app/auth/signin/signin-form.tsx b/src/app/auth/signin/signin-form.tsx index baf8788..add6aba 100644 --- a/src/app/auth/signin/signin-form.tsx +++ b/src/app/auth/signin/signin-form.tsx @@ -11,15 +11,7 @@ import { toast } from "sonner"; import { Logo } from "~/components/branding/logo"; import { LegalModal } from "~/components/ui/legal-modal"; import { env } from "~/env"; -import { - Mail, - Lock, - ArrowRight, - Users, - FileText, - TrendingUp, - Shield, -} from "lucide-react"; +import { Mail, Lock, ArrowRight, Shield } from "lucide-react"; interface SignInFormProps { allowRegistration: boolean; @@ -39,10 +31,7 @@ export function SignInForm({ allowRegistration }: SignInFormProps) { e.preventDefault(); setLoading(true); - const { error } = await authClient.signIn.email({ - email, - password, - }); + const { error } = await authClient.signIn.email({ email, password }); setLoading(false); @@ -62,7 +51,6 @@ export function SignInForm({ allowRegistration }: SignInFormProps) { providerId: "authentik", callbackURL: callbackUrl, }); - // The signIn.sso method will automatically redirect to the SSO provider } catch (error) { console.error("[SSO Error]", error); setLoading(false); @@ -71,222 +59,127 @@ export function SignInForm({ allowRegistration }: SignInFormProps) { return (
- Continue managing your clients and creating professional - invoices that get you paid faster. -
-- Organize and track all your clients in one place -
-- Beautiful templates that get you paid faster -
-- Monitor your income with real-time insights -
-Sign in to your account
- Enter your credentials to access your account -
-