From ac4f65be97a4aed2f8c4a8b15fd03afca133b9d4 Mon Sep 17 00:00:00 2001 From: Volodymyr Kozieiev Date: Tue, 18 Aug 2020 14:10:07 +0300 Subject: [PATCH] Fix crash when passcode disabled Signed-off-by: Volodymyr Kozieiev --- src/status_im/multiaccounts/login/core.cljs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/status_im/multiaccounts/login/core.cljs b/src/status_im/multiaccounts/login/core.cljs index 56b1cb34e1..a031dfcf36 100644 --- a/src/status_im/multiaccounts/login/core.cljs +++ b/src/status_im/multiaccounts/login/core.cljs @@ -224,7 +224,7 @@ :on-success #(re-frame/dispatch [::get-settings-callback %])}]} (when save-password? (keychain/save-user-password key-uid password)) - (keychain/save-auth-method key-uid (or new-auth-method auth-method))))) + (keychain/save-auth-method key-uid (or new-auth-method auth-method keychain/auth-method-none))))) (fx/defn create-only-events [{:keys [db] :as cofx}]