Skip to content

Conversation

Adarsh-ops
Copy link

I added a forgot-password feature which asks the user's email and sends the reset-password link to email and the user is able to update the password.

Description

If the user has forgotten his password, he clicks on the forgot password button and is redirected to the forgot password page where the user fills in his email, clicking on "Send Reset Link", sends user a reset link to /reset-password endpoint. Coming with a valid token, resets user's password else throws an error.

Related Issue

Fixes #116

Motivation and Context

This change was required because if the user by chance forgets the password, he won't be able to login again, he would need to create a new account.

Types of Changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Enhancement (improvement to an existing feature)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Test (adds or updates tests only)
  • Documentation (non-code change)

How Has This Been Tested?

This has been tested by running it locally on my machine and putting the respective environment variables

Screenshots (if applicable):

image image

Checklist

  • My code follows the code style of this project
  • My change requires a change to the documentation
  • I have updated the documentation accordingly
  • I have added tests to cover my changes
  • All new and existing tests passed

Copy link

netlify bot commented Oct 19, 2025

Deploy Preview for paisable ready!

Name Link
🔨 Latest commit a3385d0
🔍 Latest deploy log https://app.netlify.com/projects/paisable/deploys/68f4d730fec6c40008854408
😎 Deploy Preview https://deploy-preview-137--paisable.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
Lighthouse
Lighthouse
1 paths audited
Performance: 94
Accessibility: 100
Best Practices: 100
SEO: 91
PWA: 80
View the detailed breakdown and full score reports

To edit notification comments on pull requests, go to your Netlify project configuration.

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.

feat: Add 'Forgot Password' feature

1 participant