Fix/password reset email UI (#12587)

* fix: updated init whitelabel settings

* fix: fixed whitelabel logo, text in email
This commit is contained in:
Devanshu Gupta 2025-04-15 18:32:42 +05:30 committed by GitHub
parent 0945eb8b65
commit 5333e17136
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 3 additions and 1 deletions

View file

@ -18,4 +18,6 @@
<a target="_blank" href="https://twitter.com/ToolJet">
<img height="20" width="auto" class="social-icons social-icon-fit" alt="Company" src="cid:twitter" />
</div>
<br />
<br />
</div>

View file

@ -181,7 +181,7 @@ export class EmailService implements IEmailService {
}
async init(organizationId?: string | null) {
const whiteLabelSettings = await this.emailUtilService.retrieveWhiteLabelSettings(organizationId);
const whiteLabelSettings = await this.emailUtilService.retrieveWhiteLabelSettings(null);
this.SMTP = await this.emailUtilService.retrieveSmtpSettings();
this.WHITE_LABEL_TEXT = whiteLabelSettings?.white_label_text;
this.WHITE_LABEL_LOGO = whiteLabelSettings?.white_label_logo;