#156: set email in user state after requesting activation E-mail

This commit is contained in:
SleepWalker 2016-07-23 15:43:37 +03:00
parent 60a006b112
commit 2a9b83fe15

View File

@ -116,6 +116,13 @@ export function resendActivation({email = ''}) {
'/api/signup/repeat-message',
{email}
)
.then((resp) => {
dispatch(updateUser({
email
}));
return resp;
})
.catch(validationErrorsHandler(dispatch))
);
}