diff options
Diffstat (limited to 'lib/gitlab/auth/saml')
-rw-r--r-- | lib/gitlab/auth/saml/config.rb | 4 | ||||
-rw-r--r-- | lib/gitlab/auth/saml/user.rb | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/lib/gitlab/auth/saml/config.rb b/lib/gitlab/auth/saml/config.rb index ed2f3f158c1..67a53fa3205 100644 --- a/lib/gitlab/auth/saml/config.rb +++ b/lib/gitlab/auth/saml/config.rb @@ -4,8 +4,6 @@ module Gitlab module Auth module Saml class Config - prepend_if_ee('::EE::Gitlab::Auth::Saml::Config') # rubocop: disable Cop/InjectEnterpriseEditionModule - class << self def options Gitlab::Auth::OAuth::Provider.config_for('saml') @@ -31,3 +29,5 @@ module Gitlab end end end + +Gitlab::Auth::Saml::Config.prepend_if_ee('::EE::Gitlab::Auth::Saml::Config') diff --git a/lib/gitlab/auth/saml/user.rb b/lib/gitlab/auth/saml/user.rb index 1ba36ad95b4..37bc3f9bed0 100644 --- a/lib/gitlab/auth/saml/user.rb +++ b/lib/gitlab/auth/saml/user.rb @@ -9,8 +9,6 @@ module Gitlab module Auth module Saml class User < Gitlab::Auth::OAuth::User - prepend_if_ee('::EE::Gitlab::Auth::Saml::User') # rubocop: disable Cop/InjectEnterpriseEditionModule - extend ::Gitlab::Utils::Override def save @@ -63,3 +61,5 @@ module Gitlab end end end + +Gitlab::Auth::Saml::User.prepend_if_ee('::EE::Gitlab::Auth::Saml::User') |