From a21371a10dfed0e14720b55fa915ed7b9a1314c0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Iv=C3=A1n=20Ovejero?= Date: Thu, 13 Jun 2024 11:12:35 +0200 Subject: [PATCH] fix(core): Update transactional email links for RBAC --- .../cli/src/UserManagement/email/UserManagementMailer.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/packages/cli/src/UserManagement/email/UserManagementMailer.ts b/packages/cli/src/UserManagement/email/UserManagementMailer.ts index b350da8e4c183..d864ab7b2ee88 100644 --- a/packages/cli/src/UserManagement/email/UserManagementMailer.ts +++ b/packages/cli/src/UserManagement/email/UserManagementMailer.ts @@ -176,7 +176,10 @@ export class UserManagementMailer { const result = await this.mailer.sendMail({ emailRecipients, subject: `${sharer.firstName} has shared an n8n credential with you`, - body: populateTemplate({ credentialsName, credentialsListUrl: `${baseUrl}/credentials` }), + body: populateTemplate({ + credentialsName, + credentialsListUrl: `${baseUrl}/home/credentials`, + }), }); if (!result) return { emailSent: false };