File tree 3 files changed +9
-6
lines changed
src/status_im/contexts/communities/actions
3 files changed +9
-6
lines changed Original file line number Diff line number Diff line change 11
11
[status-im.contexts.communities.utils :as communities.utils]
12
12
[taoensso.timbre :as log]
13
13
[utils.i18n :as i18n]
14
- [utils.re-frame :as rf]))
14
+ [utils.re-frame :as rf]
15
+ [utils.security.core :as security]))
15
16
16
17
(defn view
17
18
[]
56
57
(rf/dispatch
57
58
[:communities/request-to-join-with-addresses
58
59
{:community-id id
59
- :password password}]))
60
+ :password ( security/safe-unmask-data password) }]))
60
61
:on-auth-fail (fn [err]
61
62
(log/info " Biometric authentication failed" err))}])
62
63
(navigate-back )))
Original file line number Diff line number Diff line change 7
7
[status-im.contexts.communities.actions.airdrop-addresses.style :as style]
8
8
[taoensso.timbre :as log]
9
9
[utils.i18n :as i18n]
10
- [utils.re-frame :as rf]))
10
+ [utils.re-frame :as rf]
11
+ [utils.security.core :as security]))
11
12
12
13
(defn- account-item
13
14
[{:keys [address emoji] :as account}
24
25
(rf/dispatch
25
26
[:communities/edit-shared-addresses
26
27
{:community-id community-id
27
- :password password
28
+ :password ( security/safe-unmask-data password)
28
29
:airdrop-address address
29
30
:on-success (fn []
30
31
(rf/dispatch
Original file line number Diff line number Diff line change 9
9
[status-im.contexts.communities.actions.request-to-join.style :as style]
10
10
[taoensso.timbre :as log]
11
11
[utils.i18n :as i18n]
12
- [utils.re-frame :as rf]))
12
+ [utils.re-frame :as rf]
13
+ [utils.security.core :as security]))
13
14
14
15
(defn join-community-and-navigate-back
15
16
[id]
18
19
{:on-auth-success (fn [password]
19
20
(rf/dispatch
20
21
[:communities/request-to-join
21
- {:community-id id :password password}]))
22
+ {:community-id id :password ( security/safe-unmask-data password) }]))
22
23
:on-auth-fail (fn [err]
23
24
(log/info " Biometric authentication failed" err))}])
24
25
You can’t perform that action at this time.
0 commit comments