summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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