diff options
author | Matija Čupić <matteeyah@gmail.com> | 2018-03-22 12:08:16 +0100 |
---|---|---|
committer | Matija Čupić <matteeyah@gmail.com> | 2018-03-22 12:08:16 +0100 |
commit | 05103f080cf0e40b8fe5e1774b8dd1f8084105e3 (patch) | |
tree | 9b8982871ed7f714c94e054c2dc0c39afd688091 /app/controllers/projects/variables_controller.rb | |
parent | ca3b2991a5b740c7b780e997fc1c2ef0ddf62840 (diff) | |
download | gitlab-ce-05103f080cf0e40b8fe5e1774b8dd1f8084105e3.tar.gz |
Make Variable key not secret43316-controller-parameters-handling-sensitive-information-should-use-a-more-specific-name
Diffstat (limited to 'app/controllers/projects/variables_controller.rb')
-rw-r--r-- | app/controllers/projects/variables_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/projects/variables_controller.rb b/app/controllers/projects/variables_controller.rb index ffe93522ca6..517d0b026c2 100644 --- a/app/controllers/projects/variables_controller.rb +++ b/app/controllers/projects/variables_controller.rb @@ -36,6 +36,6 @@ class Projects::VariablesController < Projects::ApplicationController end def variable_params_attributes - %i[id secret_key secret_value protected _destroy] + %i[id key secret_value protected _destroy] end end |