From 5cc9c34c05882b952d23b15ec214062ef3860279 Mon Sep 17 00:00:00 2001 From: Lucas Date: Sat, 23 Aug 2025 09:00:59 +0100 Subject: [PATCH] Fixing existing user signup error to be more explicit --- app/(login)/actions.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/(login)/actions.ts b/app/(login)/actions.ts index 532adc0ef..cf0cd499a 100644 --- a/app/(login)/actions.ts +++ b/app/(login)/actions.ts @@ -117,7 +117,7 @@ export const signUp = validatedAction(signUpSchema, async (data, formData) => { if (existingUser.length > 0) { return { - error: 'Failed to create user. Please try again.', + error: 'Account already exists', email, password };