0
0
Fork 0

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
This commit is contained in:
ThibG 2019-07-17 21:09:15 +02:00 committed by Eugen Rochko
parent fccd25cf53
commit 7e2b6da57f
7 changed files with 18 additions and 1 deletions

View file

@ -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(