DEV: Remove unnecessary require

As we’re upgrading Discourse to Rails 7+, we’re also renaming and moving
some files to better follow Rails conventions on that matter.

The current `require_dependency` call prevents us to do that and is not
necessary as the file referenced here is part of the autoload path.
This commit is contained in:
Loïc Guitaut 2022-03-02 11:26:42 +01:00 committed by Loïc Guitaut
parent 4073efac82
commit 3bbee8933a
1 changed files with 0 additions and 2 deletions

View File

@ -6,8 +6,6 @@
# authors: Robin Ward
# url: https://github.com/discourse/discourse-oauth2-basic
require_dependency 'auth/oauth2_authenticator.rb'
enabled_site_setting :oauth2_enabled
class ::OmniAuth::Strategies::Oauth2Basic < ::OmniAuth::Strategies::OAuth2