Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement logout user funtionality #71

Merged
merged 1 commit into from
Mar 20, 2022
Merged

Implement logout user funtionality #71

merged 1 commit into from
Mar 20, 2022

Conversation

R055A
Copy link
Contributor

@R055A R055A commented Mar 20, 2022

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

  • New feature (enhancement)

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.

  • Automated testing

Checklist:

  • Does a similar (open or closed) pull request not already exist?
  • Is the pull request head repository a fork repository?
  • Is the pull request compare branch a development branch?
  • Is the code documented, particularly in hard-to-understand areas?
  • Does the code build without new warnings?
  • Has testing been performed that proves changes are effective and work?
  • Has a self- and/or peer-review of the code been performed?
  • Does all new and existing automated testing pass?
  • Is the person responsible for the repository assigned to the pull request?
  • Is the pull request linked to a project?
  • Is the pull request linked to a milestone?

For more information, refer to the Contributing Guidelines and Code of Conduct links at the bottom of this page.

@R055A R055A added the enhancement New feature or request label Mar 20, 2022
@R055A R055A added this to the Assignment 1 milestone Mar 20, 2022
@R055A R055A requested a review from a team as a code owner March 20, 2022 04:40
@R055A R055A self-assigned this Mar 20, 2022
This was linked to issues Mar 20, 2022
@R055A R055A removed a link to an issue Mar 20, 2022
@R055A R055A merged commit 4b8115a into SE701-T5:main Mar 20, 2022
@R055A R055A deleted the user-logout branch March 20, 2022 09:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Implement request for user logout
2 participants