SigNoz is an open-source, OpenTelemetry-native observability platform for your team and their AI agents. Get logs, metrics, and traces in one tool with features like APM, distributed tracing, log management, infra monitoring, etc. Combined with SigNoz MCP and a native AI teammate (in SigNoz Cloud) it helps you build more resilient apps.
TypeScript apmapplication-monitoringdistributed-tracinggogood-first-issuejaegerloglogsmetricsmonitoringnextjsobservabilityopen-sourceopentelemetryprometheusreactreactjsself-hostedtracingtypescript
1627 login: onsubmit is added (#1635)
Palash Guptaf580bedb1c5b
diff --git a/frontend/src/container/Login/index.tsx b/frontend/src/container/Login/index.tsxindex 0fd6673844..61276ea3c3 100644--- a/frontend/src/container/Login/index.tsx+++ b/frontend/src/container/Login/index.tsx@@ -111,6 +111,8 @@ function Login({setFunc(value);};+ const { sso, canSelfRegister } = precheckResult;+const onSubmitHandler: React.FormEventHandler<HTMLFormElement> = async (event,) => {@@ -123,6 +125,11 @@ function Login({return;}+ if (precheckComplete && sso) {+ window.location.href = precheckResult.ssoUrl || '';+ return;+ }+setIsLoading(true);const response = await loginApi({@@ -176,8 +183,6 @@ function Login({);};- const { sso, canSelfRegister } = precheckResult;-return (<FormWrapper><FormContainer onSubmit={onSubmitHandler}>