summaryrefslogtreecommitdiff
path: root/app/controllers
diff options
context:
space:
mode:
authorMatija Čupić <matteeyah@gmail.com>2018-03-17 16:18:36 +0100
committerMatija Čupić <matteeyah@gmail.com>2018-03-17 18:29:42 +0100
commit68c6e410bd02207b621f9339edf3fc53d0bde7e8 (patch)
tree63ed38b5091074c4d602ef99cee2dfacba51eb5e /app/controllers
parent30d685b59c716fffbff4ddfbd27530f861a5f0c8 (diff)
downloadgitlab-ce-68c6e410bd02207b621f9339edf3fc53d0bde7e8.tar.gz
Use secret_key and secret_value in Pipeline Schedule variables
Diffstat (limited to 'app/controllers')
-rw-r--r--app/controllers/projects/pipeline_schedules_controller.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/projects/pipeline_schedules_controller.rb b/app/controllers/projects/pipeline_schedules_controller.rb
index b478e7b5e05..6c087dfb71e 100644
--- a/app/controllers/projects/pipeline_schedules_controller.rb
+++ b/app/controllers/projects/pipeline_schedules_controller.rb
@@ -92,7 +92,7 @@ class Projects::PipelineSchedulesController < Projects::ApplicationController
def schedule_params
params.require(:schedule)
.permit(:description, :cron, :cron_timezone, :ref, :active,
- variables_attributes: [:id, :key, :value, :_destroy] )
+ variables_attributes: [:id, :secret_key, :secret_value, :_destroy] )
end
def authorize_play_pipeline_schedule!