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:
parent
fccd25cf53
commit
7e2b6da57f
7 changed files with 18 additions and 1 deletions
|
@ -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(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue