fix(encryptid): use CONFIG.smtp.from for OIDC verification emails

The sendVerificationEmail function was hardcoding noreply@ridentity.online
as the sender, but SMTP authenticates as noreply@rspace.online. Mailcow
rejected the mismatch with 553 "Sender address rejected: not owned by user".

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Jeff Emmett 2026-03-12 13:09:45 -07:00
parent d6be2f2039
commit 9a1afe9be9
1 changed files with 1 additions and 1 deletions

View File

@ -283,7 +283,7 @@ async function sendVerificationEmail(to: string, token: string, username: string
}
await smtpTransport.sendMail({
from: 'EncryptID <noreply@ridentity.online>',
from: CONFIG.smtp.from,
to,
subject: 'rIdentity — Verify your email address',
text: [