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:
parent
26189a93af
commit
0330b2b454
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue