* Which Category is your question related to? *
Authentication
* What AWS Services are you utilizing? *
cognito using amplify angular-ionic
* Provide additional details e.g. code snippets *
How i can use this :
_Customize Error Messages
During authentication flows, Amplify handles error messages returned from the server. Amplify provides a simple way of customizing those error messages with a messageMap callback.
The function takes the original message as arguments and then outputs the desired message. Check AmplifyMessageMap.js file to see how Amplify makes the map function.
const map = (message) => {
if (/incorrect.username.password/i.test(message)) {
return 'Incorrect username or password';
}
return message;
}
But that not is working on ionic-angular v4
I see on :
But not exists an input Decorator for : errorMessage={map}
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
This issue has been automatically closed because of inactivity. Please open a new issue if are still encountering problems.
Still the issue is there but i don't know why it is closed without solution.
Most helpful comment
Still the issue is there but i don't know why it is closed without solution.