Existing user sign up flow error needs to be more explicit
Author: angelotcCreated Jul 29, 2025Updated Oct 1, 2025
The error in frontend\app(login)\actions.ts needs to be fixed from
if (existingUser.length > 0) {
return {
error: 'Failed to create user. Please try again.',
email,
password
};
}to
error: 'Account already exists',Source: nextjs/saas-starter