PluginManager refactor (#6677)
* fix: refactor plugin manager * fix: make id optional * fix: allow add to accept single object * fix: getHooks * fix: tsc * fix: remove id
This commit is contained in:
@@ -17,7 +17,7 @@ router.use(passport.initialize());
|
||||
|
||||
// dynamically load available authentication provider routes
|
||||
AuthenticationHelper.providers.forEach((provider) => {
|
||||
router.use("/", provider.value.routes());
|
||||
router.use("/", provider.value.router.routes());
|
||||
});
|
||||
|
||||
router.get("/redirect", auth(), async (ctx: APIContext) => {
|
||||
|
||||
Reference in New Issue
Block a user