prosenjit-itobuz
3/25/2017 - 10:51 AM

Password reset flow for wishver

Password reset flow for wishver

  • If user enter wrong password then password link will show below of the password field
  • If user click on the reset password link : data sending to this url http://wishver.com/api/resetrequest for request password reset otp. Data format {phone: [phoneno]}
  • After requset sent to this url http://wishver.com/api/resetrequest : response should be {success: true}.
  • If success: true , then user redirected to password reset page
  • User need to enter otp and password
  • After form submit data send to this url http://wishver.com/api/resetpassword with post method and format should be {code: [string], password: [string]}
  • Response sholud be {success: true}
  • If success then user redirected to login page