Merge branch 'fix-ci-runner-token-hidden' into 'master'

Fix revealing a CI runner token doesn't actually reveal it

Closes #47552

See merge request gitlab-org/gitlab-ce!19567
This commit is contained in:
Annabel Gray 2018-06-08 02:13:34 +00:00
commit 1c17aafa76
1 changed files with 1 additions and 1 deletions

View File

@ -7,7 +7,7 @@
= f.label :runners_token, "Runner token", class: 'label-light'
.form-control.js-secret-value-placeholder
= '*' * 20
= f.text_field :runners_token, class: "form-control hidden js-secret-value", placeholder: 'xEeFCaDAB89'
= f.text_field :runners_token, class: "form-control hide js-secret-value", placeholder: 'xEeFCaDAB89'
%p.form-text.text-muted The secure token used by the Runner to checkout the project
%button.btn.btn-info.prepend-top-10.js-secret-value-reveal-button{ type: 'button', data: { secret_reveal_status: 'false' } }
= _('Reveal value')