diff --git a/src/reducers.js b/src/reducers.js index caec72f..25e6169 100644 --- a/src/reducers.js +++ b/src/reducers.js @@ -137,6 +137,7 @@ export const cognito = (state = initial, action) => { case 'COGNITO_USER_UNCONFIRMED': return Object.assign({}, state, { user: action.user, + error: '', state: CognitoState.CONFIRMATION_REQUIRED, cache: { userName: action.user.username,