mirror of
https://github.com/discourse/discourse.git
synced 2024-12-21 14:03:57 +08:00
5919618a87
This is not used in core or official plugins, and has been printing a deprecation notice since v2.3.0beta4. All OpenID 2.0 code and dependencies have been dropped. The user_open_ids table remains for now, in case anyone has missed the deprecation notice, and needs to migrate their data. Context at https://meta.discourse.org/t/-/113249
9 lines
214 B
Ruby
9 lines
214 B
Ruby
# frozen_string_literal: true
|
|
|
|
require "openssl"
|
|
|
|
require "middleware/omniauth_bypass_middleware"
|
|
Rails.application.config.middleware.use Middleware::OmniauthBypassMiddleware
|
|
|
|
OmniAuth.config.logger = Rails.logger
|