Fix tests

This commit is contained in:
Thiago Youssef 2022-08-06 18:19:01 -03:00 committed by olegphenomenon
parent 7a7cd6be08
commit e65d55765a
3 changed files with 5 additions and 87 deletions

View file

@ -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