Closed varshakamath1 closed 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.
Task linked: CU-dgw528 Add new field pwdTemp in SmartContract
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.