about summary refs log tree commit diff
diff options
context:
space:
mode:
authorThibG <thib@sitedethib.com>2019-07-15 02:29:39 +0200
committerEugen Rochko <eugen@zeonfederated.com>2019-07-15 02:29:39 +0200
commit2f813b7ea10e0323f76d30bf2d6d1aaa87674bce (patch)
treedacd078d4f2e10a888a17864fe6a2d8a600f248e
parent3595ce6325faf5148efc152718cbe844b972ea11 (diff)
Disable LDSigning when AUTHORIZED_FETCH is set to true (#11295)
-rw-r--r--app/services/concerns/payloadable.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/services/concerns/payloadable.rb b/app/services/concerns/payloadable.rb
index 13d9c3548..953740faa 100644
--- a/app/services/concerns/payloadable.rb
+++ b/app/services/concerns/payloadable.rb
@@ -14,6 +14,6 @@ module Payloadable
   end
 
   def signing_enabled?
-    true
+    ENV['AUTHORIZED_FETCH'] != 'true'
   end
 end