From 0330b2b45430e27385c4f4186928d86d4ded6a28 Mon Sep 17 00:00:00 2001 From: "mathieu.brunot" Date: Tue, 19 Feb 2019 23:29:42 +0100 Subject: [PATCH] :bug: Fix wrong reference to config --- backend/src/uxbox/services/users.clj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/src/uxbox/services/users.clj b/backend/src/uxbox/services/users.clj index fc01895f47..215a379b4f 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