Merge pull request #591 from bluewave-labs/fix/db-decoupling

Decoupled JWT from DB, resolves #590
This commit is contained in:
Alexander Holliday authored and GitHub committed 2024-08-11 10:02:28 -07:00
commit 5d1dcf1a3b
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}`,