mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-12-24 06:22:31 -05:00
65edbb609c
This reverts commit 47e718f5b2
.
11 lines
382 B
Ruby
11 lines
382 B
Ruby
require "openssl"
|
|
require "openid_redis_store"
|
|
|
|
# if you need to test this and are having ssl issues see:
|
|
# http://stackoverflow.com/questions/6756460/openssl-error-using-omniauth-specified-ssl-path-but-didnt-work
|
|
|
|
Rails.application.config.middleware.use OmniAuth::Builder do
|
|
Discourse.authenticators.each do |authenticator|
|
|
authenticator.register_middleware(self)
|
|
end
|
|
end
|