Update UserAuthenticationFilter.java

This commit is contained in:
Ludy87 2025-03-24 00:54:10 +01:00
parent 3400cd0751
commit 4e67aa52e6
No known key found for this signature in database
GPG Key ID: 92696155E0220F94

View File

@ -130,7 +130,6 @@ public class UserAuthenticationFilter extends OncePerRequestFilter {
return;
}
String requestURI = request.getRequestURI();
// authentication = SecurityContextHolder.getContext().getAuthentication(); }
// Check for API key in the request headers if no authentication exists
if (authentication == null || !authentication.isAuthenticated()) {