AutoGPT is the vision of accessible AI for everyone, to use and to build on. Our mission is to provide the tools, so that you can focus on what matters.
tweak(frontend): Add msg for custom error (#8157)
Aarushid2205628064a
diff --git a/autogpt_platform/frontend/src/app/login/actions.ts b/autogpt_platform/frontend/src/app/login/actions.tsindex b304cf8ba3..b0f4a59bf1 100644--- a/autogpt_platform/frontend/src/app/login/actions.ts+++ b/autogpt_platform/frontend/src/app/login/actions.ts@@ -50,6 +50,9 @@ export async function signup(values: z.infer<typeof loginFormSchema>) {const { data, error } = await supabase.auth.signUp(values);if (error) {+ if (error.message.includes("P0001")) {+ return "Please join our waitlist for your turn: https://agpt.co/waitlist";+ }return error.message;}