mirror of https://github.com/embarklabs/embark.git
set error null for action.type AUTHENTICATE[REQUEST]
This commit is contained in:
parent
d150deb572
commit
56177346df
|
@ -226,7 +226,7 @@ function credentials(state = DEFAULT_CREDENTIALS_STATE, action) {
|
|||
}
|
||||
|
||||
if (action.type === AUTHENTICATE[REQUEST]) {
|
||||
return {...state, ...{authenticating: true}};
|
||||
return {...state, ...{authenticating: true, error: null}};
|
||||
}
|
||||
|
||||
return state;
|
||||
|
|
Loading…
Reference in New Issue