diff --git a/src/components/auth/actions.js b/src/components/auth/actions.js index 4388d97..6ed4d3a 100644 --- a/src/components/auth/actions.js +++ b/src/components/auth/actions.js @@ -77,11 +77,13 @@ export function activate({key = ''}) { '/api/signup/confirm', {key} ) - .then(() => { + .then((resp) => { dispatch(updateUser({ isActive: true })); + dispatch(authenticate(resp.jwt)); + dispatch(redirectToGoal()); }) .catch((resp) => {