mirror of
https://github.com/internetee/registry.git
synced 2025-07-27 21:16:12 +02:00
Add rate limiting to all EPP actions
This commit is contained in:
parent
1a8d8b52e7
commit
fb60466194
14 changed files with 629 additions and 2 deletions
|
@ -3,6 +3,9 @@ module Epp
|
|||
skip_authorization_check only: [:hello, :login, :logout]
|
||||
before_action :set_paper_trail_whodunnit
|
||||
|
||||
THROTTLED_ACTIONS = %i[login].freeze
|
||||
include Shunter::Integration::Throttle
|
||||
|
||||
def hello
|
||||
render_epp_response('greeting')
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue