lib/foreman_tasks/dynflow.rb in foreman-tasks-0.17.0 vs lib/foreman_tasks/dynflow.rb in foreman-tasks-0.17.1

- old
+ new

@@ -7,10 +7,10 @@ def web_console ::Dynflow::Web.setup do before do if !Setting[:dynflow_enable_console] || - (Setting[:dynflow_console_require_auth] && !ConsoleAuthorizer.new(env).allow?) + (Setting[:dynflow_console_require_auth] && !ConsoleAuthorizer.from_env(env).allow?) halt 403, 'Access forbidden' end end set(:custom_navigation) do