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

GET /logout #20

Closed
2 tasks done
Mu7ammadAbed opened this issue Mar 26, 2020 · 0 comments
Closed
2 tasks done

GET /logout #20

Mu7ammadAbed opened this issue Mar 26, 2020 · 0 comments
Assignees

Comments

@Mu7ammadAbed
Copy link
Member

Mu7ammadAbed commented Mar 26, 2020

relates #5

Route: GET api/v1/logout

Acceptance Criteria
  • Response
  • Testing

res.clearCookie('token').redirect('/');

Response

  • Success
{ statusCode:200 ,
Location: '/login'
}
  • Failed
{statusCode:500, 
message:"Internal Server Error"}

Testing

to be a successful test

  • status === 200
  • location === '/login'
AlaaSaadeddin pushed a commit that referenced this issue Apr 4, 2020
@AlaaSaadeddin AlaaSaadeddin added Awaiting Review This PR is ready and waiting for review and removed in progress labels Apr 4, 2020
AlaaSaadeddin pushed a commit that referenced this issue Apr 4, 2020
@AlaaSaadeddin AlaaSaadeddin mentioned this issue Apr 4, 2020
@ranasobeid95 ranasobeid95 added Done and removed Awaiting Review This PR is ready and waiting for review labels Apr 4, 2020
AlaaSaadeddin pushed a commit that referenced this issue Apr 4, 2020
ranasobeid95 added a commit that referenced this issue Apr 4, 2020
ranasobeid95 added a commit that referenced this issue Apr 4, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants