liangliang4ward commented on a change in pull request #6707: URL: https://github.com/apache/apisix/pull/6707#discussion_r835761390
########## File path: apisix/plugins/basic-auth.lua ########## @@ -167,14 +167,14 @@ function _M.rewrite(conf, ctx) -- 3. check user exists local cur_consumer = consumers[username] if not cur_consumer then - return 401, { message = "Invalid user key in authorization" } + return 401, { message = "Invalid password or username" } Review comment: done. unify "Invalid user authorization" -- 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: notifications-unsubscr...@apisix.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org