Skip to content

Commit

Permalink
todo logout
Browse files Browse the repository at this point in the history
  • Loading branch information
devincowan committed Jan 10, 2024
1 parent ca003ab commit d4a7dd2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/frontend/src/auth.js
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,8 @@ export async function logOut(callback) {
const authStore = useAuthStore()
const alertStore = useAlertStore()
authStore.logout()
await fetch(ENDPOINTS.logout, { method: 'POST', credentials: 'include', mode: 'cors' })
// TODO: logout endpoint
// await fetch(ENDPOINTS.logout, { method: 'POST', credentials: 'include', mode: 'cors' })
alertStore.displayAlert({
title: 'Logged out',
text: 'You have successfully logged out',
Expand Down

0 comments on commit d4a7dd2

Please sign in to comment.