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

Forget Password #104

Merged
merged 19 commits into from
Sep 23, 2024
Merged

Forget Password #104

merged 19 commits into from
Sep 23, 2024

Conversation

wr1159
Copy link

@wr1159 wr1159 commented Sep 17, 2024

Resolves #33, #35

Changes

  • Backend
    • Add 2 new routes
      • forget password to send email with token and add to DB the token and expiry time
      • reset password to reset password with toke and remove passwordReset item
    • Add new password reset model with email, token, expiryTime
    • install nodemailer to send email
  • Frontend
    • forget password page
    • reset password page

Demo

resetpassword.mp4

@jq1836 jq1836 changed the base branch from main to chore/add-user-interface September 23, 2024 18:11
@jq1836 jq1836 changed the base branch from chore/add-user-interface to main September 23, 2024 18:11
Copy link

@TanPingZhi TanPingZhi left a comment

Choose a reason for hiding this comment

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

It works but theres some minor issues that doesnt affect functionality. Will make bug issue #123

@TanPingZhi TanPingZhi merged commit 558d135 into main Sep 23, 2024
@TanPingZhi TanPingZhi deleted the feature/user-service/forget-password branch September 23, 2024 18:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment