Merge branch 'bug-solving' into 'master'
Correction: L'application se bloque lorsque les identifiants sont incorrectes See merge request color-recipes-explorer/frontend!22
This commit is contained in:
commit
188e6a685a
|
@ -74,12 +74,12 @@ export class AccountService implements OnDestroy {
|
|||
success()
|
||||
},
|
||||
error: err => {
|
||||
if (err.status === 401) {
|
||||
globalLoadingWheel.hide()
|
||||
if (err.status === 401 || err.status === 403) {
|
||||
this.alertService.pushError('Les identifiants entrés sont invalides')
|
||||
} else {
|
||||
this.errorService.handleError(err)
|
||||
}
|
||||
globalLoadingWheel.hide()
|
||||
}
|
||||
})
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue