Skip to content

🪢 Open source agent evals & observability: Trace, evaluate, and improve LLM applications with one open platform.

chore(ui): trim password reset otp (#6905)

Marc Klingenebb8a5a13f53
diff --git a/web/src/features/auth-credentials/components/ResetPasswordButton.tsx b/web/src/features/auth-credentials/components/ResetPasswordButton.tsx
index b059f4f009..b55e6db85e 100644
--- a/web/src/features/auth-credentials/components/ResetPasswordButton.tsx
+++ b/web/src/features/auth-credentials/components/ResetPasswordButton.tsx
@@ -89,7 +89,7 @@ export function RequestResetPasswordEmailButton({
minLength={6}
maxLength={6}
value={code}
- onChange={(e) => setCode(e.target.value)}
+ onChange={(e) => setCode(e.target.value.trim())}
placeholder="One time passcode"
className="mb-8 w-full"
/>