mirror of https://gitee.com/stylefeng/guns
【7.6.0】更新BaseSecurityInterceptor,移除cookie控制
parent
6a0e7c8963
commit
c543be1a0e
|
@ -65,7 +65,6 @@ public abstract class BaseSecurityInterceptor implements HandlerInterceptor {
|
||||||
defaultJwtPayload = authServiceApi.validateToken(token);
|
defaultJwtPayload = authServiceApi.validateToken(token);
|
||||||
} catch (AuthException authException) {
|
} catch (AuthException authException) {
|
||||||
if (AuthExceptionEnum.AUTH_EXPIRED_ERROR.getErrorCode().equals(authException.getErrorCode())) {
|
if (AuthExceptionEnum.AUTH_EXPIRED_ERROR.getErrorCode().equals(authException.getErrorCode())) {
|
||||||
sessionManagerApi.destroySessionCookie();
|
|
||||||
throw authException;
|
throw authException;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue