diff options
author | Matija Čupić <matteeyah@gmail.com> | 2018-03-22 14:08:16 +0300 |
---|---|---|
committer | Matija Čupić <matteeyah@gmail.com> | 2018-03-22 14:08:16 +0300 |
commit | 05103f080cf0e40b8fe5e1774b8dd1f8084105e3 (patch) | |
tree | 9b8982871ed7f714c94e054c2dc0c39afd688091 /app/controllers/projects/pipeline_schedules_controller.rb | |
parent | ca3b2991a5b740c7b780e997fc1c2ef0ddf62840 (diff) |
Make Variable key not secret
Diffstat (limited to 'app/controllers/projects/pipeline_schedules_controller.rb')
-rw-r--r-- | app/controllers/projects/pipeline_schedules_controller.rb | 2 |
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 6c087dfb71e..fa258f3d9af 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, :secret_key, :secret_value, :_destroy] ) + variables_attributes: [:id, :key, :secret_value, :_destroy] ) end def authorize_play_pipeline_schedule! |