Update
This commit is contained in:
parent
21d32a2dc2
commit
255c8b1ca3
1 changed files with 2 additions and 2 deletions
|
|
@ -46,8 +46,8 @@ export class PageLoginComponent implements OnInit
|
|||
maCallback(retour): void
|
||||
{
|
||||
console.log(retour.data)
|
||||
if(retour.status === "error") {
|
||||
this.errorMessage = retour.data.reason;
|
||||
if(retour.status !== 200) {
|
||||
this.errorMessage = retour.error.data.reason;
|
||||
this.hasError = true;
|
||||
}
|
||||
else {
|
||||
|
|
|
|||
Reference in a new issue