浏览代码

fix: add password type for encryption input field

Tienson Qin 4 年之前
父节点
当前提交
4ecbb143ef
共有 1 个文件被更改,包括 2 次插入1 次删除
  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)))}]