MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / signIn

Function signIn

apps/host-selfhost/web/login.tsx:44–55  ·  view source on GitHub ↗
(event: FormEvent)

Source from the content-addressed store, hash-verified

42 }, []);
43
44 const signIn = async (event: FormEvent) => {
45 event.preventDefault();
46 setBusy(true);
47 setError(null);
48 const result = await authClient.signIn.email({ email, password });
49 if (result.error) {
50 setBusy(false);
51 setError(result.error.message ?? "Sign in failed");
52 return;
53 }
54 window.location.href = postLogin;
55 };
56
57 const signInWithSso = async (providerId: string) => {
58 setBusy(true);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected