You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In server/controllers/auth.js I have got a few suggestions to improve the code:
The error message res.status(422).send({ error: "Email is in use. Please log in" }); could have a clearer message of whats going on. "The email address already exists on the system. Please log in using those credentials" or something of that sort.
There is a console log at the end that doesnt console log anything.
The text was updated successfully, but these errors were encountered:
In server/controllers/auth.js I have got a few suggestions to improve the code:
res.status(422).send({ error: "Email is in use. Please log in" });
could have a clearer message of whats going on. "The email address already exists on the system. Please log in using those credentials" or something of that sort.The text was updated successfully, but these errors were encountered: