mirror of
https://github.com/internetee/registry.git
synced 2025-07-27 21:16:12 +02:00
Fix tests
This commit is contained in:
parent
7a7cd6be08
commit
e65d55765a
3 changed files with 5 additions and 87 deletions
|
@ -62,7 +62,7 @@ module Epp
|
|||
private
|
||||
|
||||
def throttled_user
|
||||
authorize!(:throttled_user, @domain) unless current_user
|
||||
authorize!(:throttled_user, @domain) unless current_user || instance_of?(Epp::SessionsController)
|
||||
current_user
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue