Skip to content

[FEAT] Created Password Reset Page#31

Merged
OverDsh merged 5 commits intodevfrom
feat/password-reset
Jan 14, 2026
Merged

[FEAT] Created Password Reset Page#31
OverDsh merged 5 commits intodevfrom
feat/password-reset

Conversation

@OverDsh
Copy link
Contributor

@OverDsh OverDsh commented Jan 14, 2026

This PR contains the password reset page. It can be found under /reset-password

@OverDsh OverDsh added this to the V1.0 MVP Release milestone Jan 14, 2026
@OverDsh OverDsh self-assigned this Jan 14, 2026
Copilot AI review requested due to automatic review settings January 14, 2026 18:31
@OverDsh OverDsh added the auth label Jan 14, 2026
@github-actions
Copy link

🚀 Preview Deployment:

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR introduces a password reset feature that enables users to request a password reset link via email and set a new password. The implementation includes both the frontend UI components and backend email configuration.

Changes:

  • Added password reset email functionality to the auth configuration
  • Created new /reset-password route with support for both sending reset links and setting new passwords
  • Updated sign-in page to link to the new reset password flow

Reviewed changes

Copilot reviewed 7 out of 8 changed files in this pull request and generated 7 comments.

Show a summary per file
File Description
src/lib/auth.ts Added sendResetPassword callback to handle sending password reset emails
src/app/sign-in/page.tsx Updated "Forgot password?" link to point to /reset-password and added type="button" to link buttons
src/app/reset-password/page.tsx Main page component that conditionally renders either the reset link form or new password form based on token presence
src/app/reset-password/layout.tsx Layout wrapper that protects the route by requiring users to be logged out
src/app/reset-password/SetNewPassword.tsx Form component for users to enter and confirm their new password
src/app/reset-password/SendResetLink.tsx Form component for users to request a password reset link via email
.github/workflows/pr_preview.yml Added PR_NUM to environment variables for deployment workflow

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@OverDsh OverDsh merged commit 71c7f60 into dev Jan 14, 2026
1 of 2 checks passed
@OverDsh OverDsh deleted the feat/password-reset branch January 16, 2026 15:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant