Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/api/import_github.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/api/import_github.rb b/lib/api/import_github.rb
index 1975f894440..e7504051808 100644
--- a/lib/api/import_github.rb
+++ b/lib/api/import_github.rb
@@ -22,7 +22,7 @@ module API
end
def provider_unauthorized
- error!("Access denied to your #{Gitlab::ImportSources.title(provider.to_s)} account.", 500)
+ error!("Access denied to your #{Gitlab::ImportSources.title(provider.to_s)} account.", 401)
end
end