Remove misleading comment related to login flow

This commit is contained in:
Roman Volosovskyi 2019-01-11 11:39:05 +02:00
parent 085f3c31b2
commit f18886cf52
No known key found for this signature in database
GPG Key ID: 0238A4B5ECEE70DE
1 changed files with 0 additions and 8 deletions

View File

@ -17,14 +17,6 @@
[status-im.i18n :as i18n] [status-im.i18n :as i18n]
[status-im.node.core :as node])) [status-im.node.core :as node]))
;; login flow:
;;
;; - event `:ui/login` is dispatched
;; - node is initialized with user config or default config
;; - `node.started` signal is received, applying `:login` fx
;; - `:callback/login` event is dispatched, account is changed in datastore, web-data is cleared
;; - `:init.callback/account-change-success` event is dispatched
(defn login! [address password] (defn login! [address password]
(status/login address password #(re-frame/dispatch [:accounts.login.callback/login-success %]))) (status/login address password #(re-frame/dispatch [:accounts.login.callback/login-success %])))