mirror of
https://github.com/lukevella/rallly.git
synced 2025-07-17 08:17:26 +02:00
🐛 Hide feedback toggle on self-hosted instances and use correct from address
This commit is contained in:
parent
2a88b8d610
commit
bb0a58ca12
2 changed files with 9 additions and 1 deletions
|
@ -140,7 +140,10 @@ export class EmailClient {
|
|||
}
|
||||
|
||||
try {
|
||||
await this.transport.sendMail(options);
|
||||
await this.transport.sendMail({
|
||||
...options,
|
||||
from: options.from || this.config.mail.from,
|
||||
});
|
||||
return;
|
||||
} catch (e) {
|
||||
console.error("Error sending email", e);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue