MCPcopy Create free account
hub / github.com/bytebase/bytebase / trySignin

Function trySignin

frontend/src/react/components/auth/PasswordSigninForm.tsx:51–60  ·  view source on GitHub ↗
(e: React.FormEvent)

Source from the content-addressed store, hash-verified

49 const allowSignin = identifier && password;
50
51 const trySignin = (e: React.FormEvent) => {
52 e.preventDefault();
53 onSignin(
54 create(LoginRequestSchema, {
55 email: identifier,
56 password,
57 workspace: resolveWorkspaceName(),
58 })
59 );
60 };
61
62 return (
63 <form className="flex flex-col gap-y-6 px-1" onSubmit={trySignin}>

Callers

nothing calls this directly

Calls 1

resolveWorkspaceNameFunction · 0.90

Tested by

no test coverage detected