🪢 Open source agent evals & observability: Trace, evaluate, and improve LLM applications with one open platform.
TypeScript analyticsautogenevaluationlangchainlarge-language-modelsllama-indexllmllm-evaluationllm-observabilityllmopsmonitoringobservabilityopen-sourceopenaiplaygroundprompt-engineeringprompt-managementself-hostedycombinator
docs: add comment to /api/auth/signup
Marc Klingen7bc5719f9419
diff --git a/.env.prod.example b/.env.prod.exampleindex db63e1a0e5..191fa25801 100644--- a/.env.prod.example+++ b/.env.prod.example@@ -43,4 +43,4 @@ AUTH_GOOGLE_CLIENT_SECRET=AUTH_GITHUB_CLIENT_ID=AUTH_GITHUB_CLIENT_SECRET=# AUTH_DOMAINS_WITH_SSO_ENFORCEMENT=domain1.com,domain2.com-# AUTH_DISABLE_USERNAME_PASSWORD="true"+# AUTH_DISABLE_USERNAME_PASSWORD=truediff --git a/src/pages/api/auth/signup.ts b/src/pages/api/auth/signup.tsindex 8b511f1cbc..16272d9276 100644--- a/src/pages/api/auth/signup.ts+++ b/src/pages/api/auth/signup.ts@@ -3,6 +3,10 @@ import { createUserEmailPassword } from "@/src/features/auth/lib/emailPassword";import { signupSchema } from "@/src/features/auth/lib/signupSchema";import type { NextApiRequest, NextApiResponse } from "next";+/*+ * Sign-up endpoint (email/password users), creates user in database.+ * SSO users are created by the NextAuth adapters.+ */export default async function handler(req: NextApiRequest,res: NextApiResponse,