mirror of
https://github.com/internetee/registry.git
synced 2025-07-29 22:16:19 +02:00
Add rate limiting to all repp actions
This commit is contained in:
parent
fb60466194
commit
2a58bf3849
48 changed files with 757 additions and 16 deletions
|
@ -6,6 +6,9 @@ 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
|
||||
include Shunter::Integration::Throttle
|
||||
|
||||
api :GET, 'repp/v1/registrar/auth'
|
||||
desc 'check user auth info and return data'
|
||||
def index
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue