Skip to content

Commit 6049a7d

Browse files
committed
Unmask?
1 parent 84c4b2e commit 6049a7d

File tree

3 files changed

+9
-6
lines changed

3 files changed

+9
-6
lines changed

src/status_im/contexts/communities/actions/accounts_selection/view.cljs

+3-2
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@
1111
[status-im.contexts.communities.utils :as communities.utils]
1212
[taoensso.timbre :as log]
1313
[utils.i18n :as i18n]
14-
[utils.re-frame :as rf]))
14+
[utils.re-frame :as rf]
15+
[utils.security.core :as security]))
1516

1617
(defn view
1718
[]
@@ -56,7 +57,7 @@
5657
(rf/dispatch
5758
[:communities/request-to-join-with-addresses
5859
{:community-id id
59-
:password password}]))
60+
:password (security/safe-unmask-data password)}]))
6061
:on-auth-fail (fn [err]
6162
(log/info "Biometric authentication failed" err))}])
6263
(navigate-back)))

src/status_im/contexts/communities/actions/airdrop_addresses/view.cljs

+3-2
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@
77
[status-im.contexts.communities.actions.airdrop-addresses.style :as style]
88
[taoensso.timbre :as log]
99
[utils.i18n :as i18n]
10-
[utils.re-frame :as rf]))
10+
[utils.re-frame :as rf]
11+
[utils.security.core :as security]))
1112

1213
(defn- account-item
1314
[{:keys [address emoji] :as account}
@@ -24,7 +25,7 @@
2425
(rf/dispatch
2526
[:communities/edit-shared-addresses
2627
{:community-id community-id
27-
:password password
28+
:password (security/safe-unmask-data password)
2829
:airdrop-address address
2930
:on-success (fn []
3031
(rf/dispatch

src/status_im/contexts/communities/actions/request_to_join/view.cljs

+3-2
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@
99
[status-im.contexts.communities.actions.request-to-join.style :as style]
1010
[taoensso.timbre :as log]
1111
[utils.i18n :as i18n]
12-
[utils.re-frame :as rf]))
12+
[utils.re-frame :as rf]
13+
[utils.security.core :as security]))
1314

1415
(defn join-community-and-navigate-back
1516
[id]
@@ -18,7 +19,7 @@
1819
{:on-auth-success (fn [password]
1920
(rf/dispatch
2021
[:communities/request-to-join
21-
{:community-id id :password password}]))
22+
{:community-id id :password (security/safe-unmask-data password)}]))
2223
:on-auth-fail (fn [err]
2324
(log/info "Biometric authentication failed" err))}])
2425

0 commit comments

Comments
 (0)