Ajout return manquant

This commit is contained in:
wpetit 2020-02-19 14:43:46 +01:00
parent 66c3193553
commit 325d986505
1 changed files with 1 additions and 0 deletions

View File

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