Skip to content

Fix/forget password null check #1223

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

Open
wants to merge 1,258 commits into
base: demo
Choose a base branch
from

Conversation

Rk-2005
Copy link

@Rk-2005 Rk-2005 commented Mar 1, 2025

Description

This PR fixes an issue where an unregistered email caused a 500 error in the forget password function.

Related Issues

Closes #1222

Steps to Test

  1. Send a POST request to /forget-password with an unregistered email.
  2. It should now return a 404 response with an appropriate message.

Screenshots (if applicable)

Before:
![Before Fix]
image

After:
![After Fiximage

Checklist

  • [y] I have tested these changes
  • [y] I have updated the relevant documentation
  • [y] My changes generate no new warnings or errors
  • [y] The title of my pull request is clear and descriptive

@Rk-2005 Rk-2005 force-pushed the fix/forget-password-null-check branch from 1fdba3f to 30871c0 Compare March 1, 2025 23:22
@Rk-2005 Rk-2005 changed the base branch from dev to demo March 1, 2025 23:33
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.