Skip to content

Commit

Permalink
chore: code style(multi-auth) (#11508)
Browse files Browse the repository at this point in the history
  • Loading branch information
xuruidong authored Sep 13, 2024
1 parent bffa9c8 commit b5ea128
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apisix/plugins/multi-auth.lua
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ function _M.check_schema(conf)
local auth = require("apisix.plugins." .. auth_plugin_name)
if auth == nil then
return false, auth_plugin_name .. " plugin did not found"
else
else
if auth.type ~= 'auth' then
return false, auth_plugin_name .. " plugin is not supported"
end
Expand Down

0 comments on commit b5ea128

Please sign in to comment.