Skip to content

Commit

Permalink
updated mail endpoints for sigup and password reset
Browse files Browse the repository at this point in the history
  • Loading branch information
myspace20 committed Mar 31, 2024
1 parent d63c9ed commit 0b16d37
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions server/util/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,11 +48,11 @@ export function errorHandler(err: Error, req: Request, res: Response, _next: Nex
}

export function signUpHtmlContent(registrationId: string) {
const verificationUrl = `http://${configs.host}:${configs.port}/auth/verify/${registrationId}`;
const verificationUrl = `${configs.host}/auth/verify/${registrationId}`;
return `<a href=${verificationUrl}>Click here to verify</a>`;
}
export function passwordResetContent(resetId: string) {
const verificationUrl = `http://${configs.host}:${configs.port}/auth/verify/${resetId}`;
const verificationUrl = `${configs.host}/auth/verify/${resetId}`;
return `<a href=${verificationUrl}>Click here to reset</a>`;
}

Expand Down

0 comments on commit 0b16d37

Please sign in to comment.