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 | /log out #16

Closed
3 tasks done
ameera-abed opened this issue Oct 25, 2021 · 0 comments · Fixed by #30
Closed
3 tasks done

GET | /log out #16

ameera-abed opened this issue Oct 25, 2021 · 0 comments · Fixed by #30

Comments

@ameera-abed
Copy link
Contributor

ameera-abed commented Oct 25, 2021

Description
when the user click on log out it should delete the cookies and redirect him to non protect route

Files
Controllers ->logOut.js
Controllers -> index.js
Routes -> index.js -> app.get();

Tasks

  • delete cookies
  • redirect page to main page
  • Create GET Route in Routes>index.js
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants