Allow enable encryption when first-clone

This commit is contained in:
Kan-Ru Chen
2021-01-14 23:53:11 +09:00
parent e132f65f93
commit 6f337dcfe5
4 changed files with 66 additions and 35 deletions

View File

@@ -78,8 +78,6 @@
(defn reset-config!
[repo-url content]
(when-let [content (or content (get-config repo-url))]
;; When to generate new mnemonic?
(e/generate-mnemonic-and-save)
(let [config (try
(reader/read-string content)
(catch js/Error e