From 8da8c9fc56900bcf1a31808928939dff0fb0daf0 Mon Sep 17 00:00:00 2001 From: Sean van Zuidam Date: Mon, 8 Sep 2025 13:17:25 +0200 Subject: [PATCH 1/3] ADD: missing autocomplete values for passwords --- .../Backend/Block/System/Account/Edit/Form.php | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/app/code/Magento/Backend/Block/System/Account/Edit/Form.php b/app/code/Magento/Backend/Block/System/Account/Edit/Form.php index 536ddd75ee724..88af854d2ba23 100644 --- a/app/code/Magento/Backend/Block/System/Account/Edit/Form.php +++ b/app/code/Magento/Backend/Block/System/Account/Edit/Form.php @@ -1,6 +1,6 @@ 'password', 'label' => __('New Password'), 'title' => __('New Password'), - 'class' => 'validate-admin-password' + 'class' => 'validate-admin-password', + 'autocomplete' => 'new-password' ] ); @@ -122,7 +124,8 @@ protected function _prepareForm() [ 'name' => 'password_confirmation', 'label' => __('Password Confirmation'), - 'class' => 'validate-cpassword' + 'class' => 'validate-cpassword', + 'autocomplete' => 'new-password' ] ); @@ -151,7 +154,8 @@ protected function _prepareForm() 'id' => self::IDENTITY_VERIFICATION_PASSWORD_FIELD, 'title' => __('Your Password'), 'class' => 'validate-current-password required-entry', - 'required' => true + 'required' => true, + 'autocomplete' => 'current-password' ] ); From 07260f510add2e985a5f7ea45615c77789819ceb Mon Sep 17 00:00:00 2001 From: Sean van Zuidam Date: Mon, 8 Sep 2025 13:21:04 +0200 Subject: [PATCH 2/3] IMP: revert copy date --- app/code/Magento/Backend/Block/System/Account/Edit/Form.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/code/Magento/Backend/Block/System/Account/Edit/Form.php b/app/code/Magento/Backend/Block/System/Account/Edit/Form.php index 88af854d2ba23..611cf85a437fc 100644 --- a/app/code/Magento/Backend/Block/System/Account/Edit/Form.php +++ b/app/code/Magento/Backend/Block/System/Account/Edit/Form.php @@ -1,6 +1,6 @@ Date: Mon, 8 Sep 2025 13:23:57 +0200 Subject: [PATCH 3/3] IMP: revert older template change --- app/code/Magento/Backend/Block/System/Account/Edit/Form.php | 1 - 1 file changed, 1 deletion(-) diff --git a/app/code/Magento/Backend/Block/System/Account/Edit/Form.php b/app/code/Magento/Backend/Block/System/Account/Edit/Form.php index 611cf85a437fc..c8229d5999962 100644 --- a/app/code/Magento/Backend/Block/System/Account/Edit/Form.php +++ b/app/code/Magento/Backend/Block/System/Account/Edit/Form.php @@ -10,7 +10,6 @@ /** * Adminhtml edit admin user account form - * */ class Form extends \Magento\Backend\Block\Widget\Form\Generic {