Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add password reset page #29

Merged
merged 7 commits into from
Nov 4, 2023
Merged

Add password reset page #29

merged 7 commits into from
Nov 4, 2023

Conversation

paulkim26
Copy link
Contributor

Fixes #19

  • Added route /forgot-password for users to request a password reset email (accessible only if email is enabled in the .env file).
  • Added route /reset-password for users to reset their password (requires the specific tokenized URL provided in the email).
  • Added a resetToken model to the Prisma schema which represents a password reset opportunity

I have added further annotations to my code below. If you have any questions or suggestions for improvement, please let me know.

Copy link
Owner

@Yureien Yureien left a comment

Choose a reason for hiding this comment

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

Just some really minor changes needed. The code quality is really good though, thank you for the PR!

src/routes/(auth)/forgot-password/+page.server.ts Outdated Show resolved Hide resolved
Copy link
Owner

@Yureien Yureien left a comment

Choose a reason for hiding this comment

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

LGTM, approved.

@Yureien Yureien merged commit 082af73 into Yureien:main Nov 4, 2023
1 check passed
@paulkim26 paulkim26 deleted the issue-19 branch November 5, 2023 00:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Forget password page
2 participants