Skip to content

Commit 890c888

Browse files
committed
fix: infinity load after registration
1 parent cbf6941 commit 890c888

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/actions/CustomerAuthActions.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ export const signIn = customer => async dispatch => {
3535
if (token.message) {
3636
authFail(dispatch, token.message);
3737
} else {
38+
magento.setCustomerToken(token);
3839
authSuccess(dispatch, token);
3940
}
4041
} else if (response.message) {

0 commit comments

Comments
 (0)