diff --git a/pkg/apiserver/interfaces/api/authentication.go b/pkg/apiserver/interfaces/api/authentication.go index 753e9da0f..6e563a116 100644 --- a/pkg/apiserver/interfaces/api/authentication.go +++ b/pkg/apiserver/interfaces/api/authentication.go @@ -104,6 +104,7 @@ func authCheckFilter(req *restful.Request, res *restful.Response, chain *restful } if tokenValue == "" { bcode.ReturnError(req, res, bcode.ErrNotAuthorized) + return } }