Solution:
In my Catch error I should concatenate the json string in order to display the mfa token, like in the example below:
.catch(error => console.log(error.json));
before I had it like this:
.catch(error => console.log(error));
Solution:
In my Catch error I should concatenate the json string in order to display the mfa token, like in the example below:
.catch(error => console.log(error.json));
before I had it like this:
.catch(error => console.log(error));