mirror of
https://github.com/penpot/penpot.git
synced 2025-07-19 23:17:14 +02:00
⏪ Revert some changes related to admin that are no longer necessary
This commit is contained in:
parent
44102050ee
commit
bafe3ec087
11 changed files with 6 additions and 180 deletions
|
@ -13,7 +13,6 @@
|
|||
[app.db :as db]
|
||||
[app.main :as-alias main]
|
||||
[app.setup.builtin-templates]
|
||||
[app.setup.initial-user]
|
||||
[app.setup.keys :as keys]
|
||||
[buddy.core.codecs :as bc]
|
||||
[buddy.core.nonce :as bn]
|
||||
|
@ -69,5 +68,5 @@
|
|||
(let [secret (or key (generate-random-key))]
|
||||
(-> (retrieve-all conn)
|
||||
(assoc :secret-key secret)
|
||||
(assoc :tokens-key (keys/derive secret :salt "tokens" :size 32))
|
||||
(assoc :tokens-key (keys/derive secret :salt "tokens"))
|
||||
(update :instance-id handle-instance-id conn (db/read-only? pool))))))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue