RedemptionC commented on a change in pull request #2065:
URL: https://github.com/apache/apisix-dashboard/pull/2065#discussion_r687659435
##########
File path: api/internal/filter/authentication.go
##########
@@ -45,7 +45,7 @@ func (mw *AuthenticationMiddleware) Handle(ctx
droplet.Context) error {
req := httpReq.(*http.Request)
- if req.URL.Path == "/apisix/admin/tool/version" || req.URL.Path ==
"/apisix/admin/user/login" {
+ if req.URL.Path == "/apisix/admin/tool/version" || req.URL.Path ==
"/apisix/admin/user/login" || req.URL.Path == "/apisix/admin/cache_verify" {
Review comment:
what's the proper way to use this API in cache_verify command?
is the current implementation desirable?
so we just need to first get token,then use this API this way?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]