forgot-pass
This commit is contained in:
parent
800a2d3bdd
commit
3338209fe5
@ -229,7 +229,7 @@ export class EmailService {
|
||||
this.logger.log("Sending password reset email to:", email);
|
||||
const frontendUrl =
|
||||
this.configService.get<string>("FRONTEND_URL") || "https://placebo.mk";
|
||||
const resetLink = `${frontendUrl}/reset-password?token=${token}`;
|
||||
const resetLink = `${frontendUrl}/forgot-password?token=${token}`;
|
||||
const mailOptions = {
|
||||
from: this.from,
|
||||
to: email,
|
||||
|
||||
@ -96,12 +96,12 @@ export default function Contact() {
|
||||
|
||||
return (
|
||||
<div className="isolate px-6 bg-gradient-to-b from-primary-900 to-primary-700 sm:py-32 lg:px-8 h-screen">
|
||||
<div className="mx-auto max-w-2xl text-center mt-10">
|
||||
<div className="mx-auto max-w-2xl text-center">
|
||||
<h2 className="text-3xl font-bold tracking-tight text-white sm:text-3xl">
|
||||
Пишете ни порака | Закажете средба
|
||||
Пишете ни порака
|
||||
</h2>
|
||||
</div>
|
||||
<form onSubmit={handleSubmit} className="mx-auto mt-16 max-w-xl sm:mt-20">
|
||||
<form onSubmit={handleSubmit} className="mx-auto max-w-xl sm:mt-20">
|
||||
<div className="grid grid-cols-1 gap-x-8 gap-y-6 sm:grid-cols-2">
|
||||
<div>
|
||||
<label
|
||||
@ -234,4 +234,3 @@ export default function Contact() {
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user