Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Need separate DTOs for signIn and signUp #18

Open
wants to merge 1 commit into
base: master_old
Choose a base branch
from

Conversation

DorraY
Copy link

@DorraY DorraY commented Apr 22, 2021

Hi,

when consuming the APIs through the React client, I noticed that the SignIn,SignUp error messages were the same. For example, if an existing user submitted a wrong password the server would respond that the password was too weak, which is rather the message for SignUp. This is quite misleading.

Thus, I thought that the best fix was to separate between the SignUp and SignIn DTO. This way, the error message would be accurate in all cases.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants