diff --git a/src/components/auth/actions.js b/src/components/auth/actions.js index 40a2228..271945f 100644 --- a/src/components/auth/actions.js +++ b/src/components/auth/actions.js @@ -38,6 +38,7 @@ export function login({login = '', password = '', rememberMe = false}) { } const errorMessage = resp.errors[Object.keys(resp.errors)[0]]; dispatch(setError(errorMessage)); + } else { throw new Error(errorMessage); } diff --git a/src/components/auth/activation/activation.scss b/src/components/auth/activation/activation.scss index 7abef3d..0924ae8 100644 --- a/src/components/auth/activation/activation.scss +++ b/src/components/auth/activation/activation.scss @@ -15,6 +15,7 @@ font-family: $font-family-title; margin: 5px 0 19px; line-height: 1.4; + font-size: 16px; } .activationCodeInput {