about summary refs log tree commit diff
path: root/app/controllers
diff options
context:
space:
mode:
authorFire Demon <firedemon@creature.cafe>2020-08-12 22:53:24 -0500
committerFire Demon <firedemon@creature.cafe>2020-08-30 05:45:17 -0500
commit8a012af662255fa36c3aa89591078cdc353988fb (patch)
tree81316c2ddf4f06f6bc8436b45ca53123adaed303 /app/controllers
parente76a34ee42763fbf0d0252e54002ebe5fcb4b92c (diff)
[Privacy] Make authorized fetch and allowlist mode a hard requirement for Monsterfork
Diffstat (limited to 'app/controllers')
-rw-r--r--app/controllers/application_controller.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/controllers/application_controller.rb b/app/controllers/application_controller.rb
index 9608f1cf9..908bd1bdb 100644
--- a/app/controllers/application_controller.rb
+++ b/app/controllers/application_controller.rb
@@ -49,11 +49,11 @@ class ApplicationController < ActionController::Base
   end
 
   def authorized_fetch_mode?
-    ENV['AUTHORIZED_FETCH'] == 'true' || Rails.configuration.x.whitelist_mode
+    true
   end
 
   def public_fetch_mode?
-    !authorized_fetch_mode?
+    false
   end
 
   def store_current_location