mirror of
https://github.com/elyby/accounts-frontend.git
synced 2025-05-31 14:11:58 +05:30
#156: set email in user state after requesting activation E-mail
This commit is contained in:
@ -116,6 +116,13 @@ export function resendActivation({email = ''}) {
|
|||||||
'/api/signup/repeat-message',
|
'/api/signup/repeat-message',
|
||||||
{email}
|
{email}
|
||||||
)
|
)
|
||||||
|
.then((resp) => {
|
||||||
|
dispatch(updateUser({
|
||||||
|
email
|
||||||
|
}));
|
||||||
|
|
||||||
|
return resp;
|
||||||
|
})
|
||||||
.catch(validationErrorsHandler(dispatch))
|
.catch(validationErrorsHandler(dispatch))
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user