SWPP / cid-backend

μBot backend based on Django
MIT License
0 stars 2 forks source link

Implemented MuserDetail view #6

Closed lameinthebox closed 6 years ago

lameinthebox commented 6 years ago

After signing in, a user can get his own information at /chatbot/my-info/. screenshot from 2018-10-09 19-32-54 screenshot from 2018-10-09 19-33-32

The user can change his information by PATCH method with payload. screenshot from 2018-10-09 19-34-53

Changing password is done by PATCH request with old_password and new_password given as paylod. old_password must match his previous password, and new_password must be validated. screenshot from 2018-10-09 19-35-45 screenshot from 2018-10-09 19-55-04 screenshot from 2018-10-09 19-53-38

Please note that the user is automatically signed out after changing his password. Thus, authentication token is no more valid. screenshot from 2018-10-09 19-38-51

The user can sign in with new password. screenshot from 2018-10-09 19-40-29