Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFilipa Lacerda <filipa@gitlab.com>2019-04-25 15:47:43 +0300
committerFilipa Lacerda <filipa@gitlab.com>2019-04-25 15:47:43 +0300
commit25dd64707cebcca4708fbf93bfee8be45f535a81 (patch)
tree1623e97e5e164e980a5ffcb1d58e7cfc74c891be /app/views/projects
parent0ed664ac4cf56a990540b1f93e5fd62b77c4ccc7 (diff)
parentfd1bc613b4aa1bb4f580240d50fc1abf40a3d1d7 (diff)
Merge branch 'sh-fix-autocomplete-mirror-repo' into 'master'
Disable password autocomplete in mirror repository form Closes gitlab-ee#11237 See merge request gitlab-org/gitlab-ce!27542
Diffstat (limited to 'app/views/projects')
-rw-r--r--app/views/projects/mirrors/_mirror_repos.html.haml4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/projects/mirrors/_mirror_repos.html.haml b/app/views/projects/mirrors/_mirror_repos.html.haml
index c031815200b..a1ec2c887c2 100644
--- a/app/views/projects/mirrors/_mirror_repos.html.haml
+++ b/app/views/projects/mirrors/_mirror_repos.html.haml
@@ -11,7 +11,7 @@
= link_to _('Read more'), help_page_path('workflow/repository_mirroring'), target: '_blank'
.settings-content
- = form_for @project, url: project_mirror_path(@project), html: { class: 'gl-show-field-errors js-mirror-form', autocomplete: 'false', data: mirrors_form_data_attributes } do |f|
+ = form_for @project, url: project_mirror_path(@project), html: { class: 'gl-show-field-errors js-mirror-form', autocomplete: 'new-password', data: mirrors_form_data_attributes } do |f|
.panel.panel-default
.panel-heading
%h3.panel-title= _('Mirror a repository')
@@ -20,7 +20,7 @@
.form-group.has-feedback
= label_tag :url, _('Git repository URL'), class: 'label-light'
- = text_field_tag :url, nil, class: 'form-control js-mirror-url js-repo-url qa-mirror-repository-url-input', placeholder: _('Input your repository URL'), required: true, pattern: "(#{protocols}):\/\/.+"
+ = text_field_tag :url, nil, class: 'form-control js-mirror-url js-repo-url qa-mirror-repository-url-input', placeholder: _('Input your repository URL'), required: true, pattern: "(#{protocols}):\/\/.+", autocomplete: 'new-password'
= render 'projects/mirrors/instructions'