Skip to content

Commit

Permalink
Merge pull request #432 from magento-performance/CABPI-319-note-for-a…
Browse files Browse the repository at this point in the history
…dmin-user-email-field

CABPI-319: add note to email input
  • Loading branch information
slopukhov authored Apr 29, 2022
2 parents f9f4335 + d9cb6a1 commit 587c38d
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,9 @@ public function afterGetForm(WidgetForm $subject, DataForm $result): DataForm

if ($result->getElement('base_fieldset')) {
foreach ($result->getElement('base_fieldset')->getElements() as $element) {
if ($element->getId() === 'email') {
$element->setData('note', __('Use the same email user has in Adobe IMS organization.'));
}
if ($element->getId() === 'password') {
$result->getElement('base_fieldset')->removeField($element->getId());
}
Expand Down

0 comments on commit 587c38d

Please sign in to comment.