Skip to content

Commit 6910c3d

Browse files
committed
Fix SMTP again
1 parent 18dfb95 commit 6910c3d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server/services/EmailService.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ class EmailService {
6363

6464
// Send email
6565
await this.transporter.sendMail({
66-
from: process.env.SMTP_FROM || 'noreply@modl.gg',
66+
from: process.env.SMTP_FROM || `noreply@${process.env.DOMAIN}`,
6767
to: email,
6868
subject: 'modl Admin Login Code',
6969
text: `Your login code is: ${code}\n\nThis code will expire in 10 minutes.`,

0 commit comments

Comments
 (0)