diff options
author | ThibG <thib@sitedethib.com> | 2019-07-17 21:09:15 +0200 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2019-07-17 21:09:15 +0200 |
commit | 7e2b6da57f7689757a50fa261c480445b1846703 (patch) | |
tree | 1c9ecca76fcf3ce743c372314188361e429ed1f1 /app/models | |
parent | fccd25cf5397f8c2ee2df98e0cc46be3c2b1ea5d (diff) |
Add setting to disable the anti-spam (#11296)
* Add environment variable to disable the anti-spam * Move antispam setting to admin settings * Fix typo * antispam → spam_check
Diffstat (limited to 'app/models')
-rw-r--r-- | app/models/form/admin_settings.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/app/models/form/admin_settings.rb b/app/models/form/admin_settings.rb index 86a86ec66..2c03c88a8 100644 --- a/app/models/form/admin_settings.rb +++ b/app/models/form/admin_settings.rb @@ -28,6 +28,7 @@ class Form::AdminSettings thumbnail hero mascot + spam_check_enabled ).freeze BOOLEAN_KEYS = %i( @@ -39,6 +40,7 @@ class Form::AdminSettings show_known_fediverse_at_about_page preview_sensitive_media profile_directory + spam_check_enabled ).freeze UPLOAD_KEYS = %i( |