From 76be2c279fd3319850a08e830932b4b62190b347 Mon Sep 17 00:00:00 2001 From: Roman Volosovskyi Date: Mon, 4 Nov 2019 14:12:20 +0200 Subject: [PATCH] [#9268] fix Multiaccount is currently empty on login --- src/status_im/multiaccounts/login/core.cljs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/status_im/multiaccounts/login/core.cljs b/src/status_im/multiaccounts/login/core.cljs index 15c2839665..ac327a3eaf 100644 --- a/src/status_im/multiaccounts/login/core.cljs +++ b/src/status_im/multiaccounts/login/core.cljs @@ -68,7 +68,10 @@ {:events [:multiaccounts.login.ui/password-input-submitted]} [{:keys [db] :as cofx}] (let [{:keys [address password name photo-path]} (:multiaccounts/login db)] - {:db (assoc-in db [:multiaccounts/login :processing] true) + {:db (-> db + (assoc-in [:multiaccounts/login :processing] true) + (dissoc :intro-wizard) + (update :hardwallet dissoc :flow)) ::login [(types/clj->json {:name name :address address :photo-path photo-path}) (ethereum/sha3 (security/safe-unmask-data password))]}))