Commit 05b6bb4b authored by Marco Wessel's avatar Marco Wessel

Don't require omniauth to be enabled, to use github importer

parent 7a84dcf2
......@@ -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
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment