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:
parent
4073efac82
commit
3bbee8933a
|
@ -6,8 +6,6 @@
|
||||||
# authors: Robin Ward
|
# authors: Robin Ward
|
||||||
# url: https://github.com/discourse/discourse-oauth2-basic
|
# url: https://github.com/discourse/discourse-oauth2-basic
|
||||||
|
|
||||||
require_dependency 'auth/oauth2_authenticator.rb'
|
|
||||||
|
|
||||||
enabled_site_setting :oauth2_enabled
|
enabled_site_setting :oauth2_enabled
|
||||||
|
|
||||||
class ::OmniAuth::Strategies::Oauth2Basic < ::OmniAuth::Strategies::OAuth2
|
class ::OmniAuth::Strategies::Oauth2Basic < ::OmniAuth::Strategies::OAuth2
|
||||||
|
|
Loading…
Reference in New Issue