Răsfoiți Sursa

fix: add password type for encryption input field

Tienson Qin 4 ani în urmă
părinte
comite
4ecbb143ef
1 a modificat fișierele cu 2 adăugiri și 1 ștergeri
  1. 2 1
      src/main/frontend/components/encryption.cljs

+ 2 - 1
src/main/frontend/components/encryption.cljs

@@ -150,7 +150,8 @@
           "Enter your password"]]]
 
        [:input.form-input.block.w-full.sm:text-sm.sm:leading-5.my-2
-        {:auto-focus true
+        {:type "password"
+         :auto-focus true
          :style {:color "#000"}
          :on-change (fn [e]
                       (reset! secret (util/evalue e)))}]