accounts: recover password no longer appears as clear text #732

This commit is contained in:
Gustavo Nunes 2017-01-20 17:33:51 -02:00 committed by Roman Volosovskyi
parent 374264e108
commit 06c8498568
1 changed files with 9 additions and 8 deletions

View File

@ -56,14 +56,15 @@
(label :t/enter-valid-password))] (label :t/enter-valid-password))]
[view [view
[text-field [text-field
{:value password {:value password
:error error :secure-text-entry true
:error-color "#7099e6" :error error
:label (label :t/password) :error-color "#7099e6"
:label-color "#838c93de" :label (label :t/password)
:line-color "#0000001f" :label-color "#838c93de"
:input-style st/input-style :line-color "#0000001f"
:on-change-text #(dispatch [:set-in [:recover :password] %])}]])) :input-style st/input-style
:on-change-text #(dispatch [:set-in [:recover :password] %])}]]))
(defview recover [] (defview recover []
[{:keys [passphrase password passphrase-error password-error]} [:get :recover]] [{:keys [passphrase password passphrase-error password-error]} [:get :recover]]