X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;ds=sidebyside;f=server%2Fcontrollers%2Fapi%2Fconfig.ts;h=85f3ad3d942d114c04aaab5c7790f3e5385e7167;hb=ebefc902f59be6c5542c19ff706e310d9dddf75f;hp=e8941bc732dcb072a19e6ce13239c835866fd471;hpb=4a8d113b9b57d97ff13ad1608798eabca99643e4;p=github%2FChocobozzz%2FPeerTube.git diff --git a/server/controllers/api/config.ts b/server/controllers/api/config.ts index e8941bc73..85f3ad3d9 100644 --- a/server/controllers/api/config.ts +++ b/server/controllers/api/config.ts @@ -278,6 +278,8 @@ function getIdAndPassAuthPlugins () { for (const auth of p.idAndPassAuths) { result.push({ npmName: p.npmName, + name: p.name, + version: p.version, authName: auth.authName, weight: auth.getWeight() }) @@ -294,6 +296,8 @@ function getExternalAuthsPlugins () { for (const auth of p.externalAuths) { result.push({ npmName: p.npmName, + name: p.name, + version: p.version, authName: auth.authName, authDisplayName: auth.authDisplayName })