fix bio-metric login (#19293)
This commit is contained in:
parent
60d6a5c3cc
commit
6c5242b3e0
|
@ -177,12 +177,13 @@
|
||||||
:profile.login/get-user-password-success
|
:profile.login/get-user-password-success
|
||||||
(fn [{:keys [db]} [password]]
|
(fn [{:keys [db]} [password]]
|
||||||
(when password
|
(when password
|
||||||
(let [{:keys [key-uid password]} (:profile/login db)]
|
{:db (-> db
|
||||||
{:db (-> db
|
(assoc-in [:profile/login :password] password)
|
||||||
(assoc-in [:profile/login :password] password)
|
(assoc-in [:profile/login :processing] true))
|
||||||
(assoc-in [:profile/login :processing] true))
|
:fx [[:set-root :progress]
|
||||||
:fx [[:set-root :progress]
|
[:effects.profile/login
|
||||||
[:effects.profile/login [key-uid (security/safe-unmask-data password)]]]}))))
|
[(get-in db [:profile/login :key-uid])
|
||||||
|
(security/safe-unmask-data password)]]]})))
|
||||||
|
|
||||||
(rf/reg-event-fx
|
(rf/reg-event-fx
|
||||||
:profile.login/biometric-success
|
:profile.login/biometric-success
|
||||||
|
|
Loading…
Reference in New Issue