diff --git a/src/components/auth/actions.js b/src/components/auth/actions.js index c95fc17..da05e08 100644 --- a/src/components/auth/actions.js +++ b/src/components/auth/actions.js @@ -35,7 +35,6 @@ export function login({login = '', password = '', rememberMe = false}) { } const errorMessage = resp.errors[Object.keys(resp.errors)[0]]; dispatch(setError(errorMessage)); - } else { throw new Error(errorMessage); }