abilliti-dev / abilliti-frontend

2 stars 0 forks source link

More generic error message on login #18

Closed taylorfinelli closed 1 month ago

taylorfinelli commented 1 month ago

image

Error message should say "Incorrect email or password"

mva919 commented 1 month ago

A thing to note here is that even though we will update the error message to be more generic it will still up the kind of error in the response from the cognito API.

image
taylorfinelli commented 1 month ago

https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-pool-managing-errors.html#:~:text=Amazon%20Cognito%20supports%20customizing%20error,disable%20user%20existence%20related%20errors.

mva919 commented 1 month ago

Good find, idk why this isn't enabled by default