Decoupled JWT from DB

This commit is contained in:
Alex Holliday committed 2024-08-10 10:20:06 -07:00
1 parent 14f6f05dfc
commit 0cc7751d2e
5 files changed
+16 -7

No files matched your search

+1 -1
View File
@@ -102,7 +102,7 @@ function NavBar() {
// Make request to BE to remove JWT from user
await axiosIntance.post(
"/auth/logout",
{ user: authState.user },
{ email: authState.user.email },
{
headers: {
Authorization: `Bearer ${authState.authToken}`,