fix paths to predefined providers

pull/6827/head
Martin Linkhorst 11 years ago
parent f40e00d1a8
commit 935558f461
  1. 4
      lib/open_project/openid_connect/engine.rb

@ -24,8 +24,8 @@ module OpenProject::OpenIDConnect
require 'omniauth/openid_connect/provider'
# load pre-defined providers
Dir[File.join(File.dirname(__FILE__), "../../omniauth/openid_connect/*.rb")].each do |file|
require file.gsub("^.*lib/", "").gsub(".rb", "")
Dir[File.expand_path('../../../omniauth/openid_connect/*.rb', __FILE__)].each do |file|
require file
end
# Use OpenSSL default certificate store instead of HTTPClient's.

Loading…
Cancel
Save