From 499f25b82301c470458820e9a66032d4ee6ab741 Mon Sep 17 00:00:00 2001
From: malexsan <alexandru.munt@gmail.com>
Date: Tue, 18 Dec 2018 17:33:46 +0200
Subject: [PATCH] fix(component-user): send user last name in email if present

---
 packages/component-user/server/notifications/notification.js | 1 +
 1 file changed, 1 insertion(+)

diff --git a/packages/component-user/server/notifications/notification.js b/packages/component-user/server/notifications/notification.js
index 876e0c24d..cd3a53472 100644
--- a/packages/component-user/server/notifications/notification.js
+++ b/packages/component-user/server/notifications/notification.js
@@ -26,6 +26,7 @@ class Notification {
       fromEmail: `${journalName} <${staffEmail}>`,
       toUser: {
         email: user.email,
+        name: user.lastName,
       },
       content: {
         subject: 'Confirm your account',
-- 
GitLab