Commit c0ff1182 authored by Filipa Lacerda's avatar Filipa Lacerda

Merge branch '35060-remove-token-field' into 'master'

Remove token field from runners edit form

Closes #35060

See merge request gitlab-org/gitlab-ce!32231
parents 4576d55f 748b89ee
......@@ -25,11 +25,6 @@
.form-check
= f.check_box :locked, { class: 'form-check-input' }
%label.light{ for: :runner_locked }= _('When a runner is locked, it cannot be assigned to other projects')
.form-group.row
= label_tag :token, class: 'col-form-label col-sm-2' do
= _('Token')
.col-sm-10
= f.text_field :token, class: 'form-control', readonly: true
.form-group.row
= label_tag :ip_address, class: 'col-form-label col-sm-2' do
= _('IP Address')
......
---
title: Remove token field from runners edit form
merge_request: 32231
author:
type: fixed
......@@ -12115,9 +12115,6 @@ msgstr ""
msgid "Toggles :%{name}: emoji award."
msgstr ""
msgid "Token"
msgstr ""
msgid "Tomorrow"
msgstr ""
......
......@@ -282,10 +282,6 @@ describe "Admin Runners" do
visit admin_runner_path(runner)
end
describe 'runner info' do
it { expect(find_field('runner_token').value).to eq runner.token }
end
describe 'projects' do
it 'contains project names' do
expect(page).to have_content(@project1.full_name)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment