mirror of
https://github.com/Significant-Gravitas/AutoGPT.git
synced 2026-04-08 03:00:28 -04:00
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user