From 99b7db76ce4f06294058e65ce97a9d57ed8d4c87 Mon Sep 17 00:00:00 2001 From: markpernia Date: Mon, 22 Apr 2024 15:19:17 +0200 Subject: [PATCH] SMA-91: update JwtAuthFilter --- .../src/main/java/com/sportsmatch/auth/JwtAuthFilter.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }