fix log
This commit is contained in:
@@ -66,7 +66,7 @@ public class JwtRequestFilter extends OncePerRequestFilter {
|
||||
String sessionId = jwtTokenProvider.getSessionId(jwt);
|
||||
|
||||
if (emailOpt.isPresent() && userIdOpt.isPresent()) {
|
||||
// Check session validity
|
||||
// // Check session validity
|
||||
Optional<String> activeSessionId = refreshTokenService.getSessionIdByEmail(emailOpt.get());
|
||||
// if (activeSessionId.isEmpty() || !activeSessionId.get().equals(sessionId)) {
|
||||
// sendErrorResponse(response, HttpStatus.UNAUTHORIZED, "SESSION_INVALIDATED");
|
||||
|
||||
Reference in New Issue
Block a user