mirror of
https://github.com/logseq/logseq.git
synced 2026-04-28 08:04:40 +00:00
feat(encryption): add ui to enter the secret phrase
This commit is contained in:
@@ -95,6 +95,15 @@
|
||||
(state/set-config! repo-url config)
|
||||
config)))
|
||||
|
||||
(defn read-metadata!
|
||||
[repo-url content]
|
||||
(try
|
||||
(reader/read-string content)
|
||||
(catch js/Error e
|
||||
(println "Parsing metadata file failed: ")
|
||||
(js/console.dir e)
|
||||
{})))
|
||||
|
||||
(defn request-app-tokens!
|
||||
[ok-handler error-handler]
|
||||
(let [repos (state/get-repos)
|
||||
|
||||
Reference in New Issue
Block a user