From df22b174575fd5359c715dc48ea6765295b9edd0 Mon Sep 17 00:00:00 2001 From: SleepWalker Date: Sat, 13 Feb 2016 17:34:29 +0200 Subject: [PATCH] =?UTF-8?q?=D0=94=D0=BE=D0=B1=D0=B0=D0=B2=D0=B8=D0=BB=20?= =?UTF-8?q?=D0=BA=D0=BE=D1=81=D1=82=D1=8B=D0=BB=D1=8C=D1=87=D0=B8=D0=BA,?= =?UTF-8?q?=20=D1=87=D1=82=D0=BE=20=D0=B1=D1=8B=20=D0=BF=D0=BE=D1=81=D0=BB?= =?UTF-8?q?=D0=B5=20=D1=80=D0=B5=D0=B3=D0=B8=20=D1=8E=D0=B7=D0=B5=D1=80=20?= =?UTF-8?q?=D1=82=D0=BE=D0=B6=D0=B5=20=D0=B1=D1=8B=D0=BB=20=D1=8F=D0=BA?= =?UTF-8?q?=D0=BE=D0=B1=D1=8B=20=D0=B0=D0=B2=D1=82=D0=BE=D1=80=D0=B8=D0=B7?= =?UTF-8?q?=D0=B8=D1=80=D0=BE=D0=B2=D0=B0=D0=BD=D0=BD=D1=8B=D0=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/auth/actions.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/components/auth/actions.js b/src/components/auth/actions.js index d79c008..eb8c285 100644 --- a/src/components/auth/actions.js +++ b/src/components/auth/actions.js @@ -50,6 +50,11 @@ export function register({ {email, username, password, rePassword, rulesAgreement} ) .then(() => { + dispatch(updateUser({ + username, + email, + isGuest: false + })); dispatch(routeActions.push('/activation')); }) .catch((resp) => {