mirror of
https://github.com/penpot/penpot.git
synced 2026-04-27 20:28:11 +00:00
🐛 Fix wrong reference to config
This commit is contained in:
parent
26189a93af
commit
0330b2b454
@ -187,7 +187,7 @@
|
||||
(defmethod core/novelty :register-profile
|
||||
[params]
|
||||
(s/assert ::register params)
|
||||
(if (= (:registration-enabled config) true)
|
||||
(if (= (:registration-enabled cfg/config) true)
|
||||
(with-open [conn (db/connection)]
|
||||
(sc/apply-atomic conn register-user params))
|
||||
(ex/raise :type :validation
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user