8
9
10
11
12
13
14
15
16
|
# File 'app/controllers/concerns/foreman_dlm/find_host_by_ip.rb', line 8
def authorize_host_by_ip(actions, _options = {})
skip_before_action :require_login, :only => actions, :raise => false
skip_before_action :authorize, :only => actions
skip_before_action :verify_authenticity_token, :only => actions
skip_before_action :set_taxonomy, :only => actions, :raise => false
skip_before_action :session_expiry, :update_activity_time, :only => actions
before_action(:only => actions) { require_ip_auth_or_login }
attr_reader :detected_host
end
|