DPigeon / Edge

A web-base application kind of like a social media site to allow parents to communicate with teachers and vice-versa.
0 stars 1 forks source link

Forgot Password Feature #71

Closed ahmedmaria closed 5 years ago

ahmedmaria commented 6 years ago

Finish remaining parts for forgot password

ahmedmaria commented 6 years ago
AnasBuyumad commented 5 years ago

This has been implemented.

Summary :

POST on /recover to request a recovery code by email. Required body field : "email" with the user email.

On success, the user will receive his code by e-mail. Answer : success true/false


POST on /recover/verify to verify and process a code. Required body field : "email" with the user email, "code" with the code. On success, the code will be processed/deleted/voided. Answer : success true/false


POST on /users/password to update a user password. Required body field : "email" with the user email, "password" with the new password.

DPigeon commented 5 years ago

Thanks, I am making this on the frontend now.