Skip to content

Commit 4c3f8af

Browse files
author
Oleksandr Gorkun
committed
MAGETWO-92720: E-mail admin users when a new administrator is created.
1 parent 158d1ee commit 4c3f8af

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

app/code/Magento/User/Model/Notificator.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ public function sendForgotPassword(UserInterface $user): void
104104
$this->sendNotification(
105105
'admin/emails/forgot_email_template',
106106
[
107-
'user' => $user,
107+
'user' => $user,
108108
'store' => $this->storeManager->getStore(
109109
Store::DEFAULT_STORE_ID
110110
)
@@ -141,7 +141,7 @@ public function sendCreated(UserInterface $user): void
141141
$this->sendNotification(
142142
'admin/emails/new_user_notification_template',
143143
[
144-
'user' => $user,
144+
'user' => $user,
145145
'store' => $this->storeManager->getStore(
146146
Store::DEFAULT_STORE_ID
147147
)
@@ -172,8 +172,8 @@ public function sendUpdated(UserInterface $user, array $changed): void
172172
$this->sendNotification(
173173
'admin/emails/user_notification_template',
174174
[
175-
'user' => $user,
176-
'store' => $this->storeManager->getStore(
175+
'user' => $user,
176+
'store' => $this->storeManager->getStore(
177177
Store::DEFAULT_STORE_ID
178178
),
179179
'changes' => implode(', ', $changed)

0 commit comments

Comments
 (0)