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
|
maCallback(retour): void
|
||||||
{
|
{
|
||||||
console.log(retour.data)
|
console.log(retour.data)
|
||||||
if(retour.status === "error") {
|
if(retour.status !== 200) {
|
||||||
this.errorMessage = retour.data.reason;
|
this.errorMessage = retour.error.data.reason;
|
||||||
this.hasError = true;
|
this.hasError = true;
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
|
|
||||||
Reference in a new issue