mirror of
https://github.com/internetee/registry.git
synced 2025-07-30 22:46:22 +02:00
Add rate limiting to missing actions
This commit is contained in:
parent
e65d55765a
commit
88090523ff
3 changed files with 7 additions and 4 deletions
|
@ -6,7 +6,7 @@ module Repp
|
|||
skip_before_action :check_ip_restriction, only: :tara_callback
|
||||
skip_before_action :validate_client_certs, only: :tara_callback
|
||||
|
||||
THROTTLED_ACTIONS = %i[index].freeze
|
||||
THROTTLED_ACTIONS = %i[index tara_callback].freeze
|
||||
include Shunter::Integration::Throttle
|
||||
|
||||
api :GET, 'repp/v1/registrar/auth'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue