Don't require omniauth to be enabled, to use github importer
This commit is contained in:
parent
7a84dcf222
commit
05b6bb4bf7
1 changed files with 1 additions and 1 deletions
|
@ -257,7 +257,7 @@ module ProjectsHelper
|
|||
end
|
||||
|
||||
def github_import_enabled?
|
||||
Gitlab.config.omniauth.enabled && enabled_oauth_providers.include?(:github)
|
||||
enabled_oauth_providers.include?(:github)
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue