Incorrect username/password error is not displayed when using <amplify-authenticator> tag in Angular #4801
Labels
Angular
Related to Angular 2+
pending-close-response-required
A response is required for this issue to remain open, it will be closed within the next 7 days.
UI
Related to UI Components
Milestone
Describe the bug
When trying to login as an nonexistent user using the tag in Angular, the error message is not displayed and the tag disappears from the view.
To Reproduce
Steps to reproduce the behavior:
Additional context
This seems to come from the fact that inside the aws-ampligy-angular module/sign-in-component-core.ts there the logic
When an nonexistent user tries to login, a
signIn_failure
is returned for authState and hence the tag disappears.A solution that comes to mind would be to also add this state to the code above.
The text was updated successfully, but these errors were encountered: