about summary refs log tree commit diff
path: root/app/controllers
diff options
context:
space:
mode:
authormultiple creatures <dev@multiple-creature.party>2020-02-14 04:56:13 -0600
committermultiple creatures <dev@multiple-creature.party>2020-02-14 04:56:13 -0600
commitd1a887b57a6243dcdbf33f00d4692f25b8f2b270 (patch)
treeca0a22bf04a78a6b5d74b135700f8fe316a5d497 /app/controllers
parent9d6b593379d1d826391c58585c7f5121323b9410 (diff)
add admin option to toggle auto-marking instance actors known & make enabling greylist federation also enable secure mode
Diffstat (limited to 'app/controllers')
-rw-r--r--app/controllers/application_controller.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/application_controller.rb b/app/controllers/application_controller.rb
index 23e7c1f97..3169151a8 100644
--- a/app/controllers/application_controller.rb
+++ b/app/controllers/application_controller.rb
@@ -44,7 +44,7 @@ class ApplicationController < ActionController::Base
   end
 
   def authorized_fetch_mode?
-    ENV['AUTHORIZED_FETCH'] == 'true'
+    ENV['AUTHORIZED_FETCH'] == 'true' || Setting.auto_reject_unknown
   end
 
   def public_fetch_mode?