From df68b4d0d432187716d39d329c90e6a3aad740ba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luis=20Vill=C3=A9n?= <72191439+lvillen@users.noreply.github.com> Date: Wed, 28 Aug 2024 10:25:53 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=A6=8B=20Hide=20password=20field=20at=20N?= =?UTF-8?q?ew=20Provider=20account=20(#3872)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/views/provider/admin/accounts/new.html.slim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/views/provider/admin/accounts/new.html.slim b/app/views/provider/admin/accounts/new.html.slim index b7a43eeae7..6907028079 100644 --- a/app/views/provider/admin/accounts/new.html.slim +++ b/app/views/provider/admin/accounts/new.html.slim @@ -10,8 +10,8 @@ div class="pf-c-card" ' User Information = form.fields_for [:user, @user] do |user| = user.user_defined_form - = user.input :password, as: :patternfly_input, required: true - = user.input :password_confirmation, as: :patternfly_input, required: true + = user.input :password, as: :patternfly_input, input_html: { type: 'password' }, required: true + = user.input :password_confirmation, as: :patternfly_input, input_html: { type: 'password' }, required: true section class="pf-c-form__section" role="group" aria-labelledby="form-section-org" div class="pf-c-form__section-title" id="form-section-org" aria-hidden="true"