0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-03-11 15:21:18 -05:00

🐛 Fix wrong reference to config

This commit is contained in:
mathieu.brunot 2019-02-19 23:29:42 +01:00
parent 26189a93af
commit 0330b2b454
No known key found for this signature in database
GPG key ID: 81584BEAF692D7E0

View file

@ -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