Commit 91e1824f authored by Phil Hughes's avatar Phil Hughes

Merge branch 'sh-disable-autocomplete-mirror-settings' into 'master'

Disable password autocomplete in mirror form fill

Closes #50812

See merge request gitlab-org/gitlab-ce!23402
parents 822fa649 e76a6765
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
.changing-auth-method= icon('spinner spin lg') .changing-auth-method= icon('spinner spin lg')
.well-password-auth.collapse.js-well-password-auth .well-password-auth.collapse.js-well-password-auth
= f.label :password, _("Password"), class: "label-bold" = f.label :password, _("Password"), class: "label-bold"
= f.password_field :password, value: mirror.password, class: 'form-control' = f.password_field :password, value: mirror.password, class: 'form-control', autocomplete: 'new-password'
- unless is_push - unless is_push
.well-ssh-auth.collapse.js-well-ssh-auth .well-ssh-auth.collapse.js-well-ssh-auth
%p.js-ssh-public-key-present{ class: ('collapse' unless ssh_public_key_present) } %p.js-ssh-public-key-present{ class: ('collapse' unless ssh_public_key_present) }
......
---
title: Disable password autocomplete in mirror form fill
merge_request: 23402
author:
type: fixed
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