fix callback

This commit is contained in:
andrzej 2024-09-13 21:50:41 +02:00
parent f97d7e7de1
commit cc11e80e78
1 changed files with 2 additions and 1 deletions

View File

@ -6,6 +6,7 @@ import { toast } from "@/components/ui/use-toast";
import { Form, FormControl, FormField, FormItem, FormLabel, FormMessage } from "@/components/ui/form";
import { Input } from "@/components/ui/input";
import { Button } from "@/components/ui/button";
import { login } from "app/api/auth/actions";
const formSchema = z.object({
email: z.string().email(),
@ -26,7 +27,7 @@ export default function LoginForm() {
return (
<Form {...form}>
<form action={signIn}>
<form action={login}>
<FormField
control={form.control}
name="email"