mirror of
https://gitee.com/dromara/MaxKey.git
synced 2025-12-08 01:48:33 +08:00
cookie is null , clear authentication
This commit is contained in:
parent
9a63f3790d
commit
d2e9f3fa5f
@ -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();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user