Ajout return manquant
This commit is contained in:
parent
66c3193553
commit
325d986505
@ -9,6 +9,7 @@ export function* loginSaga(action) {
|
||||
} catch(err) {
|
||||
yield put(loginFailure(action.username, err));
|
||||
yield put(addMessage('danger', "Une erreur inconnue bloque le fonctionnement normal de l'application. Veuillez réessayer plus tard."));
|
||||
return
|
||||
}
|
||||
|
||||
if ('error' in result) {
|
||||
|
Loading…
Reference in New Issue
Block a user