CraftsmenLtd / BloodConnect

BloodConnect
Apache License 2.0
9 stars 1 forks source link

Implement Forget Password Flow #202

Closed EbrahimAli-RU closed 2 weeks ago

EbrahimAli-RU commented 3 weeks ago

Fixes #77

Resolves # Used when the changes in the pull request indirectly resolve another issue.

What kind of change does this PR introduce (check at least one)

How would you describe the changes in a changelog (1-2 lines)?

In the Forgot Password process, the user first requests a password reset by entering their registered Email. An OTP is then sent to the user for verification. Once the OTP is received, the user enters it along with a new password. This information is sent to the backend for validation and password update. If successful, the user is redirected to the login page to access their account with the new password.

Related Issues/PRs (optional)

Link to the relevant issue(s) or provide a clear description of the problem or feature being addressed.

How to test

Checklist

Reviewer Request (optional)

If you have any specific requests or suggestions for reviewers, mention them here.

Screenshots (optional)

If applicable, provide any additional screenshots or GIFs that showcase the changes made in this pull request.

Demo Link (optional)

If applicable, provide a link to a live demo or deployment where the changes can be reviewed.

Known Issues (optional)

If there are any known issues or limitations with the changes made in this pull request, describe them here.

Additional Notes (optional)

Add any additional notes or comments you think are relevant to this pull request.

Deploy risk & follow up

Please assess risk & follow up on deployment of this PR. Elaborate your choice if selecting anything other than 'No risk'.

melon-ruet commented 3 weeks ago

Depends on other PR being merged first: https://github.com/CraftsmenLtd/BloodConnect/issues/185

This is not a PR link

melon-ruet commented 3 weeks ago

I can see all codes are under "mobile" directory. But forget password feature is also necessary in web app. Are we thinking about the core business logic in a single place?

EbrahimAli-RU commented 3 weeks ago

I can see all codes are under "mobile" directory. But forget password feature is also necessary in web app. Are we thinking about the core business logic in a single place?

Yes, vai, we are thinking of sharing common functionality between mobile and web applications since the web app is paused. We have a plan to move common functionality to a common directory after the first iteration. And I think we only can share auth-related functionality between mobile and web.

EbrahimAli-RU commented 3 weeks ago

Depends on other PR being merged first: #185

This is not a PR link

Updated.