Update: Error.reason

This commit is contained in:
Yûki VACHOT 2021-12-12 01:55:35 +01:00
parent cf6264cc87
commit 559b8624b3

View file

@ -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 {