fix(auth): redirect to login when signup email already exists#191
fix(auth): redirect to login when signup email already exists#191viferga merged 4 commits intometacall:masterfrom
Conversation
|
Hi maintainers 👋 This PR improves the signup UX by preventing retry loops Please let me know if any changes are required. Thanks! |
|
The CI is failing, I won't merge it unless you solve it. |
|
Fixed the CI issue. It was a Prettier lint error due to line endings. |
|
@vikram-2101 can you add test case for this change |
There is already a test for existing email but it was written for the signup logic which failes immediately. Now when it redirects to login instead of throwing an error, so I’ll update it accordingly.
|
…t as it was before and only kept the .includes() for the taken email test
8be5f3e to
b291ce6
Compare
|
@pkspyder007 I’ve implemented the test case in |

This PR fixes an issue where attempting to sign up with an existing
email caused the CLI to loop back into the signup flow.
Updated behavior:
This prevents infinite loops and improves CLI UX.