fix: avoid auth plugin ordering cycles
This commit is contained in:
@@ -51,7 +51,6 @@ export function authzPlugin() {
|
||||
return definePlugin({
|
||||
name: "@wrnexus/authz",
|
||||
version: "0.8.0",
|
||||
after: ["@wrnexus/auth"],
|
||||
configure(config, context) {
|
||||
const raw = (config.authz ?? {}) as AuthzConfig;
|
||||
const enabled = raw.enabled !== false && Boolean(config.authz);
|
||||
|
||||
Reference in New Issue
Block a user