From 0b761498fd4565614d46041cb92d07e9e8ae4ea9 Mon Sep 17 00:00:00 2001 From: Thiago Youssef Date: Sun, 7 Aug 2022 11:57:30 -0300 Subject: [PATCH] Skip action tara callback authorization --- app/controllers/repp/v1/base_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/repp/v1/base_controller.rb b/app/controllers/repp/v1/base_controller.rb index fde6a35f1..903c9e58b 100644 --- a/app/controllers/repp/v1/base_controller.rb +++ b/app/controllers/repp/v1/base_controller.rb @@ -173,7 +173,7 @@ module Repp end def throttled_user - authorize!(:throttled_user, @domain) unless current_user + authorize!(:throttled_user, @domain) unless current_user || action_name == 'tara_callback' current_user end end