summaryrefslogtreecommitdiff
path: root/app/views/admin/users
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2021-10-18 18:11:13 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2021-10-18 18:11:13 +0000
commit0c5ecdea894cbb702c890143533f651d48a60080 (patch)
tree03a00890584543bd099159f780e4a03c01c4b780 /app/views/admin/users
parent71b7a9d5b24f62e725896e37c67d550ae80ba525 (diff)
downloadgitlab-ce-0c5ecdea894cbb702c890143533f651d48a60080.tar.gz
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/views/admin/users')
-rw-r--r--app/views/admin/users/_form.html.haml4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/admin/users/_form.html.haml b/app/views/admin/users/_form.html.haml
index 96fd0f5aac1..3869a2b6dcd 100644
--- a/app/views/admin/users/_form.html.haml
+++ b/app/views/admin/users/_form.html.haml
@@ -39,12 +39,12 @@
.col-sm-2.col-form-label
= f.label :password
.col-sm-10
- = f.password_field :password, disabled: f.object.force_random_password, class: 'form-control gl-form-input'
+ = f.password_field :password, disabled: f.object.force_random_password, autocomplete: 'new-password', class: 'form-control gl-form-input'
.form-group.row
.col-sm-2.col-form-label
= f.label :password_confirmation
.col-sm-10
- = f.password_field :password_confirmation, disabled: f.object.force_random_password, class: 'form-control gl-form-input'
+ = f.password_field :password_confirmation, disabled: f.object.force_random_password, autocomplete: 'new-password', class: 'form-control gl-form-input'
= render partial: 'access_levels', locals: { f: f }