diff --git a/backend/src/uxbox/services/users.clj b/backend/src/uxbox/services/users.clj index fc01895f4..215a379b4 100644 --- a/backend/src/uxbox/services/users.clj +++ b/backend/src/uxbox/services/users.clj @@ -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