From 2e766bd1977a1be5edc9537c2bebfe229ee8df67 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cau=C3=AA=20Faleiros?= Date: Fri, 6 Mar 2026 10:58:52 -0300 Subject: [PATCH] fix: route dashboard user invites to reset-password instead of setup-account --- backend/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/index.js b/backend/index.js index 0b44b55..385571c 100644 --- a/backend/index.js +++ b/backend/index.js @@ -329,7 +329,7 @@ apiRouter.post('/users', requireRole(['admin', 'owner', 'super_admin']), async ( ); // 4. Enviar E-mail de Boas-vindas - const setupLink = `${getBaseUrl(req)}/#/setup-account?token=${token}`; + const setupLink = `${getBaseUrl(req)}/#/reset-password?token=${token}`; await transporter.sendMail({ from: `"Fasto" <${process.env.MAIL_FROM || 'nao-responda@blyzer.com.br'}>`,