frontend url in email service
This commit is contained in:
parent
74c741b537
commit
066cdfc0d5
@ -227,8 +227,7 @@ export class EmailService {
|
|||||||
|
|
||||||
async sendPasswordResetEmail(email: string, name: string, token: string) {
|
async sendPasswordResetEmail(email: string, name: string, token: string) {
|
||||||
this.logger.log("Sending password reset email to:", email);
|
this.logger.log("Sending password reset email to:", email);
|
||||||
const frontendUrl = "http://localhost:5173";
|
const frontendUrl = "https://imk.mk";
|
||||||
// this.configService.get<string>("FRONTEND_URL") || "http://localhost:5147";
|
|
||||||
const resetLink = `${frontendUrl}/reset-password?token=${token}`;
|
const resetLink = `${frontendUrl}/reset-password?token=${token}`;
|
||||||
const mailOptions = {
|
const mailOptions = {
|
||||||
from: this.from,
|
from: this.from,
|
||||||
@ -267,9 +266,7 @@ export class EmailService {
|
|||||||
border-radius: 5px;
|
border-radius: 5px;
|
||||||
">Ресетирај лозинка</a>
|
">Ресетирај лозинка</a>
|
||||||
</p>
|
</p>
|
||||||
<p>This link will expire in 1 hour.</p>
|
|
||||||
<p>Линкот е валиден 1 час.</p>
|
<p>Линкот е валиден 1 час.</p>
|
||||||
<p>If you didn't request this, please ignore this email or contact support if you have concerns.</p>
|
|
||||||
<p>Доколку не сте побарале ресетирање на лозинка игнорирајте ја оваа е-пошта</p>
|
<p>Доколку не сте побарале ресетирање на лозинка игнорирајте ја оваа е-пошта</p>
|
||||||
<p>Секое добро,<br>IMK Team</p>
|
<p>Секое добро,<br>IMK Team</p>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user