mirror of
https://github.com/elyby/accounts-frontend.git
synced 2024-12-28 07:50:32 +05:30
#156: set email in user state after requesting activation E-mail
This commit is contained in:
parent
60a006b112
commit
2a9b83fe15
@ -116,6 +116,13 @@ export function resendActivation({email = ''}) {
|
||||
'/api/signup/repeat-message',
|
||||
{email}
|
||||
)
|
||||
.then((resp) => {
|
||||
dispatch(updateUser({
|
||||
email
|
||||
}));
|
||||
|
||||
return resp;
|
||||
})
|
||||
.catch(validationErrorsHandler(dispatch))
|
||||
);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user