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:
parent
2d636f5f25
commit
fab970e439
|
|
@ -283,7 +283,7 @@ async function sendVerificationEmail(to: string, token: string, username: string
|
||||||
}
|
}
|
||||||
|
|
||||||
await smtpTransport.sendMail({
|
await smtpTransport.sendMail({
|
||||||
from: 'EncryptID <noreply@ridentity.online>',
|
from: CONFIG.smtp.from,
|
||||||
to,
|
to,
|
||||||
subject: 'rIdentity — Verify your email address',
|
subject: 'rIdentity — Verify your email address',
|
||||||
text: [
|
text: [
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue