Closed R055A closed 2 years ago
Implemented functionality for logging out a user by HTTP POST request.
The user is first verified as logged in and then the authorization token is set to "0" in the user database document.
Solves #19
Automated testing for successful logging out a user, and unsuccessfully logging out a user with invalid ID and invalid authorization token.
For more information, refer to the Contributing Guidelines and Code of Conduct links at the bottom of this page.
Description
Implemented functionality for logging out a user by HTTP POST request.
The user is first verified as logged in and then the authorization token is set to "0" in the user database document.
Related Issue
Solves #19
Type of change
How Has This Been Tested?
Automated testing for successful logging out a user, and unsuccessfully logging out a user with invalid ID and invalid authorization token.
Checklist:
For more information, refer to the Contributing Guidelines and Code of Conduct links at the bottom of this page.