Fix map call in oidc engine

This got merged incorrectly
pull/11670/head
Oliver Günther 2 years ago
parent 7f29257d4a
commit 0be44d1057
No known key found for this signature in database
GPG Key ID: 88872239EB414F99
  1. 2
      modules/openid_connect/lib/open_project/openid_connect/engine.rb

@ -40,7 +40,7 @@ module OpenProject::OpenIDConnect
] ]
strategy :openid_connect do strategy :openid_connect do
OpenProject::OpenIDConnect.providers.map(&:to_h).map do OpenProject::OpenIDConnect.providers.map(&:to_h).map do |h|
h[:single_sign_out_callback] = Proc.new do h[:single_sign_out_callback] = Proc.new do
next unless h[:end_session_endpoint] next unless h[:end_session_endpoint]

Loading…
Cancel
Save