diff options
author | Stan Hu <stanhu@gmail.com> | 2018-12-10 22:52:04 +0300 |
---|---|---|
committer | Stan Hu <stanhu@gmail.com> | 2018-12-10 22:56:14 +0300 |
commit | b4e2679437558e48c9055ac499ce775cce9b191d (patch) | |
tree | 4bbaa5269b7f4e2373184f0eed2474d93a52a186 /changelogs | |
parent | eadd53b969da2704d7551069eda0b416ffb7b0e2 (diff) |
Allow GitHub imports via token even if OAuth2 provider not configured
Previously, the GitHub importer would only work if the site configured
an OAuth2 provider were configured. Users attempting to import via a
GitHub personal access token would see an Error 500 due to a failed
redirection. We fix this by only doing the redirection if the provider
has been configured and allowing users to see the new import page.
Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/38524
Diffstat (limited to 'changelogs')
-rw-r--r-- | changelogs/unreleased/sh-fix-github-import-without-oauth2-config.yml | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/changelogs/unreleased/sh-fix-github-import-without-oauth2-config.yml b/changelogs/unreleased/sh-fix-github-import-without-oauth2-config.yml new file mode 100644 index 00000000000..ad548a6ff35 --- /dev/null +++ b/changelogs/unreleased/sh-fix-github-import-without-oauth2-config.yml @@ -0,0 +1,5 @@ +--- +title: Allow GitHub imports via token even if OAuth2 provider not configured +merge_request: 23703 +author: +type: fixed |