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
d6be2f2039
commit
9a1afe9be9
|
|
@ -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: [
|
||||
|
|
|
|||
Loading…
Reference in New Issue