kshitijyelpale / blockchain-hyperledger-fabric-electronic-patient-records

GNU General Public License v3.0
49 stars 43 forks source link

CU-dgw528 - Add new field pwdTemp in SmartContract #38

Closed varshakamath1 closed 3 years ago

varshakamath1 commented 3 years ago

Patient login for the first time.

Login request body: { "username": "PID0", "password": "PID0", "role": "patient" }

Response - 200 { "success": "Please change the temporary password immediately." }

Change password screen appears and the new password is passed in the newPassword parameter in the request body Request body { "username": "PID0", "newPassword":"PID0", "role": "patient" } New password is updated and access token is generated.

kshitijyelpale commented 3 years ago

Task linked: CU-dgw528 Add new field pwdTemp in SmartContract