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

Bug: Reset Password fixed #1085

Merged
merged 1 commit into from
Jul 29, 2024

Conversation

BHS-Harish
Copy link
Contributor

Issue that this pull request solves

Closes: #989

Proposed changes

The reset password functionality added

Types of changes

  • Bugfix (non-breaking change which fixes an issue)

Screenshots

bandicam.2024-07-28.19-35-11-525.mp4

@auto-assign auto-assign bot requested a review from Kajol-Kumari July 28, 2024 19:14
@BHS-Harish
Copy link
Contributor Author

Hello @Kajol-Kumari

I have fixed it.

setToast({ open: true, message: "Loading...", severity: "info" });
axios
.post(
`${END_POINT}/admin/forgotpassword`,
Copy link
Member

Choose a reason for hiding this comment

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

[question] how are u making sure that the user is resetting his/her password only? Any identifier in the url?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

That are already done in backend side... While submitting the email in forgot password form... It will check the given email in admin collection... If not throw error User not found otherwise it send a hash token for the respective email id.

@Kajol-Kumari Kajol-Kumari added level2 Bug fixing, adding small features. gssoc GSSoC'24 Label labels Jul 29, 2024
@Kajol-Kumari Kajol-Kumari merged commit 15c21dc into HITK-TECH-Community:main Jul 29, 2024
7 checks passed
@BHS-Harish BHS-Harish deleted the fix-issue-989 branch July 31, 2024 17:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
gssoc GSSoC'24 Label level2 Bug fixing, adding small features.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

To Solve the bug in forgot password feature
2 participants