Skip to content

A Q&A platform software for teams at any scales. Whether it's a community forum, help center, or knowledge management platform, you can always count on Apache Answer.

fix(plugin): fix plugin auth router

LinkinStarsf04d5a03f837
diff --git a/internal/base/server/http.go b/internal/base/server/http.go
index 2845e786..ebf3a463 100644
--- a/internal/base/server/http.go
+++ b/internal/base/server/http.go
@@ -71,7 +71,7 @@ func NewHTTPServer(debug bool,
pluginAPIRouter.RegisterAuthAdminConnectorRouter(adminauthV1)
_ = plugin.CallAgent(func(agent plugin.Agent) error {
- agent.RegisterUnAuthRouter(unAuthV1)
+ agent.RegisterUnAuthRouter(mustUnAuthV1)
agent.RegisterAuthUserRouter(authV1)
agent.RegisterAuthAdminRouter(adminauthV1)
return nil