fix: route dashboard user invites to reset-password instead of setup-account
All checks were successful
Build and Deploy / build-and-push (push) Successful in 1m12s

This commit is contained in:
Cauê Faleiros
2026-03-06 10:58:52 -03:00
parent 34ff18d8dc
commit 2e766bd197

View File

@@ -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'}>`,