cookie is null , clear authentication

This commit is contained in:
MaxKey 2022-08-06 19:06:41 +08:00
parent 9a63f3790d
commit d2e9f3fa5f

View File

@ -54,6 +54,9 @@ public class AuthorizationUtils {
String authorization = authCookie.getValue(); String authorization = authCookie.getValue();
_logger.trace("Try congress authenticate ."); _logger.trace("Try congress authenticate .");
doJwtAuthenticate(BEARERTYPE.CONGRESS,authorization,authTokenService,sessionManager); doJwtAuthenticate(BEARERTYPE.CONGRESS,authorization,authTokenService,sessionManager);
}else {
_logger.debug("cookie is null , clear authentication .");
clearAuthentication();
} }
} }