From 7ebe578b1937041de4a82a435667fc592e41abd5 Mon Sep 17 00:00:00 2001
From: Mike McKay <mfmckay@wustl.edu>
Date: Sun, 29 May 2016 22:18:51 -0500
Subject: [PATCH] XNAT-4272 Fixed bug with disabling comments on registration.

---
 .../META-INF/xnat/spawner/site-admin-elements.yaml          | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/main/resources/META-INF/xnat/spawner/site-admin-elements.yaml b/src/main/resources/META-INF/xnat/spawner/site-admin-elements.yaml
index 393042a1..5f1b3a86 100644
--- a/src/main/resources/META-INF/xnat/spawner/site-admin-elements.yaml
+++ b/src/main/resources/META-INF/xnat/spawner/site-admin-elements.yaml
@@ -869,10 +869,10 @@ registrationOptions:
                 If true, user accounts will be enabled automatically when the user registers. Users will be able to access the site and any 'public' 
                 projects immediately. If false, the site administrator will be required to manually enable user accounts. Either way the administrator 
                 receives an email notification when a user registers.
-        allowUserCommentsOnRegistration:
+        uiAllowNewUserComments:
             kind: panel.input.checkbox
-            id: allowUserCommentsOnRegistration
-            name: allowUserCommentsOnRegistration
+            id: uiAllowNewUserComments
+            name: UI.allow-new-user-comments
             label: "Allow User Comments on Registration?"
         restrictUserListAccessToAdmins:
             kind: panel.input.checkbox
-- 
GitLab