about summary refs log tree commit diff
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2019-11-28 04:07:49 +0100
committermultiple creatures <dev@multiple-creature.party>2020-02-20 23:17:44 -0600
commita373fdc1c3b1e6646ffc243f3f5bd926aeda041f (patch)
treefafc98dee4e927c5230046dade561e0d2be4765a
parentf521c4fb033c3c5b5f745f477ac29fd8993dc510 (diff)
Fix proofs API being inaccessible in secure mode (#12495)
-rw-r--r--app/controllers/api/proofs_controller.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/controllers/api/proofs_controller.rb b/app/controllers/api/proofs_controller.rb
index 1ec02c126..f9316428c 100644
--- a/app/controllers/api/proofs_controller.rb
+++ b/app/controllers/api/proofs_controller.rb
@@ -3,6 +3,8 @@
 class Api::ProofsController < Api::BaseController
   include AccountOwnedConcern
 
+  skip_before_action :require_authenticated_user!
+
   before_action :set_provider
 
   def index