()
| 58 | }; |
| 59 | |
| 60 | const signInGoogle = async () => { |
| 61 | await authClient.signIn.social({ |
| 62 | provider: "google", |
| 63 | }, { |
| 64 | onSuccess: () => { |
| 65 | router.push("/"); |
| 66 | }, |
| 67 | onError: () => { |
| 68 | toast.error("Something went wrong"); |
| 69 | }, |
| 70 | }); |
| 71 | }; |
| 72 | |
| 73 | const onSubmit = async (values: LoginFormValues) => { |
| 74 | await authClient.signIn.email({ |
nothing calls this directly
no outgoing calls
no test coverage detected