mirror of
https://github.com/internetee/registry.git
synced 2025-07-28 05:26:17 +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
|
@ -3,7 +3,7 @@ module Epp
|
|||
skip_authorization_check only: [:hello, :login, :logout]
|
||||
before_action :set_paper_trail_whodunnit
|
||||
|
||||
THROTTLED_ACTIONS = %i[login].freeze
|
||||
THROTTLED_ACTIONS = %i[login hello].freeze
|
||||
include Shunter::Integration::Throttle
|
||||
|
||||
def hello
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue