about summary refs log tree commit diff
path: root/app/models/form
diff options
context:
space:
mode:
authorThibG <thib@sitedethib.com>2020-12-14 10:03:09 +0100
committerGitHub <noreply@github.com>2020-12-14 10:03:09 +0100
commit47e507fa61be6dc39dd9821e1d07c33e993cc246 (patch)
treea628d53e554ba02a633615b5234698eebe902fab /app/models/form
parenta7e819b8a8de25414324e354baa62e9abbd3e8c4 (diff)
Add ability to require invite request text (#15326)
Fixes #15273

Co-authored-by: Claire <claire.github-309c@sitedethib.com>
Diffstat (limited to 'app/models/form')
-rw-r--r--app/models/form/admin_settings.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/models/form/admin_settings.rb b/app/models/form/admin_settings.rb
index 390836f28..e9f78da21 100644
--- a/app/models/form/admin_settings.rb
+++ b/app/models/form/admin_settings.rb
@@ -35,6 +35,7 @@ class Form::AdminSettings
     show_domain_blocks
     show_domain_blocks_rationale
     noindex
+    require_invite_text
   ).freeze
 
   BOOLEAN_KEYS = %i(
@@ -51,6 +52,7 @@ class Form::AdminSettings
     trends
     trendable_by_default
     noindex
+    require_invite_text
   ).freeze
 
   UPLOAD_KEYS = %i(