diff --git a/backend/sportsmatch/src/main/java/com/sportsmatch/auth/JwtAuthFilter.java b/backend/sportsmatch/src/main/java/com/sportsmatch/auth/JwtAuthFilter.java index e6f9d7a6..65e33333 100644 --- a/backend/sportsmatch/src/main/java/com/sportsmatch/auth/JwtAuthFilter.java +++ b/backend/sportsmatch/src/main/java/com/sportsmatch/auth/JwtAuthFilter.java @@ -54,7 +54,7 @@ protected void doFilterInternal( } if (isBearerTokenNotPresent(authHeader)) { - sendUnauthorizedError(response, "Token not present or expired token"); + sendUnauthorizedError(response, "Token not present"); return; }