failure_app has to be instance

pull/2978/head
Markus Kahl 10 years ago
parent 28c81dfad0
commit 1814455eb7
  1. 2
      lib/open_project/authentication/manager.rb

@ -30,7 +30,7 @@ module OpenProject
def configure(config)
config.default_strategies :session
config.failure_app = OpenProject::Authentication::FailureApp
config.failure_app = OpenProject::Authentication::FailureApp.new
scope_strategies.each do |scope, strategies|
config.scope_defaults scope, strategies: strategies, store: store_defaults[scope]

Loading…
Cancel
Save