medi-connect icon indicating copy to clipboard operation
medi-connect copied to clipboard

Feature : want to add functionality of Forget password.

Open VinayLodhi1712 opened this issue 1 year ago • 4 comments

I want to add functionality of Forget password. So if user forget the password we give him an option to forget the password and set the new password and the new password should store on database. For this i need to design frontend and backend part both in which frontend part i can do easily and even backend can also done easily but you have to help me in setup of database of mongodb and help in .env.example file setup.

forget password

so I have checked right now the issue #8 is working on it i think if this feature is not implemented than assign me otherwise just close this issue.

VinayLodhi1712 avatar Oct 07 '24 18:10 VinayLodhi1712

pls assign this task to me

geetanjalidubey9 avatar Oct 07 '24 19:10 geetanjalidubey9

I'll assign this issue in a few days, as currently i cannot get engage with development due to my exams.. @VinayLodhi1712

Luson045 avatar Oct 07 '24 19:10 Luson045

Should i start the work on it. And i am asking for you need forget password functionality through normal form and then i have to made the api for the backend to forget password and store the new password in mongodb. Right anything you needed more can you tell me now as i wanted to start work on it

VinayLodhi1712 avatar Oct 09 '24 07:10 VinayLodhi1712

@VinayLodhi1712 yeah that's how it will work, you can make a temporary token that is sent to the email and that token is used for one time verification to change the password. For sending email there is already the back-end code, you need to make an api route to handle verification logic. And send request to that from backend, also make sure to make the api in the auth folders.. that's it.

Luson045 avatar Oct 09 '24 19:10 Luson045