Skip action tara callback authorization

This commit is contained in:
Thiago Youssef 2022-08-07 11:57:30 -03:00 committed by olegphenomenon
parent 88090523ff
commit 0b761498fd

View file

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