aboutsummaryrefslogtreecommitdiffstats
path: root/backend/authentication
diff options
context:
space:
mode:
Diffstat (limited to 'backend/authentication')
-rw-r--r--backend/authentication/backend.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/backend/authentication/backend.py b/backend/authentication/backend.py
index 206d1eb..c7590e9 100644
--- a/backend/authentication/backend.py
+++ b/backend/authentication/backend.py
@@ -33,7 +33,7 @@ class JWTAuthenticationBackend(authentication.AuthenticationBackend):
self, request: Request
) -> t.Optional[tuple[authentication.AuthCredentials, authentication.BaseUser]]:
"""Handles JWT authentication process."""
- cookie = request.cookies.get("BackendToken")
+ cookie = request.cookies.get("token")
if not cookie:
return None