From d9793b2367ec6171256e46dde9657f664c2b4268 Mon Sep 17 00:00:00 2001
From: Eugen Rochko <eugen@zeonfederated.com>
Date: Thu, 28 Nov 2019 04:07:49 +0100
Subject: Fix proofs API being inaccessible in secure mode (#12495)

---
 app/controllers/api/proofs_controller.rb | 2 ++
 1 file changed, 2 insertions(+)

(limited to 'app/controllers/api')

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
-- 
cgit