Skip to content

Commit

Permalink
updated forgotpassword link
Browse files Browse the repository at this point in the history
  • Loading branch information
sinamics committed Aug 25, 2023
1 parent a902d7d commit 6c233d5
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
File renamed without changes.
2 changes: 1 addition & 1 deletion src/server/api/routers/authRouter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -368,7 +368,7 @@ export const authRouter = createTRPCRouter({
},
);

const forgotLink = `${process.env.NEXTAUTH_URL}/login/forgotpassword?token=${validationToken}`;
const forgotLink = `${process.env.NEXTAUTH_URL}/auth/forgotPassword/reset?token=${validationToken}`;
const globalOptions = await ctx.prisma.globalOptions.findFirst({
where: {
id: 1,
Expand Down

0 comments on commit 6c233d5

Please sign in to comment.