about summary refs log tree commit diff
path: root/app/controllers/api/proofs_controller.rb
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2019-11-28 04:07:49 +0100
committerGitHub <noreply@github.com>2019-11-28 04:07:49 +0100
commitd9793b2367ec6171256e46dde9657f664c2b4268 (patch)
tree340a0143d8ac020bb687d02d3ad0696d63946f8a /app/controllers/api/proofs_controller.rb
parent8040923501baf279f095eb8ef3f2b72ea69c9c46 (diff)
Fix proofs API being inaccessible in secure mode (#12495)
Diffstat (limited to 'app/controllers/api/proofs_controller.rb')
-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 a98599eee..dd32cd577 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