Skip to content

Commit b505e36

Browse files
mdeabreupaulpopus
andauthored
fix(templates): fixed forgot password link (#15037)
### What? * The "forgot your password?" link on the login form was incorrectly redirecting to `<url>/recover-password` resulting in a 404 and user confusion ### Why? * Should be easy for users to reset their passwords if necessary ### How? * Correct the link to point to `<url>/forgot-password` [[1]](https://github.com/payloadcms/payload/blob/main/templates/ecommerce/src/app/(app)/forgot-password/page.tsx) Co-authored-by: Paul Popus <paul@payloadcms.com>
1 parent f42b767 commit b505e36

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • templates/ecommerce/src/components/forms/LoginForm

templates/ecommerce/src/components/forms/LoginForm/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ export const LoginForm: React.FC = () => {
7171
<div className="text-primary/70 mb-6 prose prose-a:hover:text-primary dark:prose-invert">
7272
<p>
7373
Forgot your password?{' '}
74-
<Link href={`/recover-password${allParams}`}>Click here to reset it</Link>
74+
<Link href={`/forgot-password${allParams}`}>Click here to reset it</Link>
7575
</p>
7676
</div>
7777
</div>

0 commit comments

Comments
 (0)