mirror of
https://github.com/discourse/discourse.git
synced 2025-02-19 10:22:45 +08:00

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
|