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
diff options
context:
space:
mode:
authorFrancisco Javier López <fjlopez@gitlab.com>2018-12-18 17:24:22 +0300
committerDouwe Maan <douwe@gitlab.com>2018-12-18 17:24:22 +0300
commit4b0988aa020a9f2fc887b70f82711c9e5b708f49 (patch)
tree00f8bcb4d92b3cb8093c3bd077126f3c5dfdf6e3 /app/controllers/profiles
parentaa7c927e1e4f114fea381d3856d195319f0ca0a1 (diff)
Remove content disposition attachment displaying all ssh keys
Diffstat (limited to 'app/controllers/profiles')
-rw-r--r--app/controllers/profiles/keys_controller.rb1
1 files changed, 0 insertions, 1 deletions
diff --git a/app/controllers/profiles/keys_controller.rb b/app/controllers/profiles/keys_controller.rb
index dcee8eb7e6e..055d900eece 100644
--- a/app/controllers/profiles/keys_controller.rb
+++ b/app/controllers/profiles/keys_controller.rb
@@ -40,7 +40,6 @@ class Profiles::KeysController < Profiles::ApplicationController
begin
user = UserFinder.new(params[:username]).find_by_username
if user.present?
- headers['Content-Disposition'] = 'attachment'
render plain: user.all_ssh_keys.join("\n")
else
return render_404