Update: Error.reason
This commit is contained in:
parent
cf6264cc87
commit
559b8624b3
1 changed files with 1 additions and 1 deletions
|
|
@ -54,7 +54,7 @@ export class PageLoginComponent implements OnInit
|
||||||
{
|
{
|
||||||
console.log(retour);
|
console.log(retour);
|
||||||
if(retour.status !== "success") {
|
if(retour.status !== "success") {
|
||||||
this.errorMessage = retour.error.data.reason;
|
this.errorMessage = retour.error.reason;
|
||||||
this.hasError = true;
|
this.hasError = true;
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
|
|
||||||
Reference in a new issue